Skip to content

Commit

Permalink
Merge pull request Expensify#43919 from gedu/edu/unread_marker_lhn_no…
Browse files Browse the repository at this point in the history
…tification

Marking as read when coming from notification
  • Loading branch information
mountiny authored Jun 26, 2024
2 parents 811f154 + 9c8734f commit 8a26c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import Navigation from '@libs/Navigation/Navigation';
import CONST from '@src/CONST';
import ROUTES from '@src/ROUTES';

const navigateFromNotification = (reportID: string) => {
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID, undefined, CONST.REFERRER.NOTIFICATION));
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID));
};

export default navigateFromNotification;
3 changes: 2 additions & 1 deletion src/libs/actions/navigateFromNotification/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Navigation from '@libs/Navigation/Navigation';
import CONST from '@src/CONST';
import ROUTES from '@src/ROUTES';

const navigateFromNotification = (reportID: string) => {
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID));
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID, undefined, CONST.REFERRER.NOTIFICATION));
};

export default navigateFromNotification;

0 comments on commit 8a26c9d

Please sign in to comment.