Skip to content

Commit 8a26c9d

Browse files
authored
Merge pull request #43919 from gedu/edu/unread_marker_lhn_notification
Marking as read when coming from notification
2 parents 811f154 + 9c8734f commit 8a26c9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import Navigation from '@libs/Navigation/Navigation';
2-
import CONST from '@src/CONST';
32
import ROUTES from '@src/ROUTES';
43

54
const navigateFromNotification = (reportID: string) => {
6-
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID, undefined, CONST.REFERRER.NOTIFICATION));
5+
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID));
76
};
87

98
export default navigateFromNotification;
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import Navigation from '@libs/Navigation/Navigation';
2+
import CONST from '@src/CONST';
23
import ROUTES from '@src/ROUTES';
34

45
const navigateFromNotification = (reportID: string) => {
5-
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID));
6+
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID, undefined, CONST.REFERRER.NOTIFICATION));
67
};
78

89
export default navigateFromNotification;

0 commit comments

Comments
 (0)