Skip to content

Commit

Permalink
Updated file names to handle different platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
gedu committed Jun 18, 2024
1 parent 9ec57c0 commit 9c8734f
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 9c8734f

Please sign in to comment.