Skip to content

Commit

Permalink
update route name
Browse files Browse the repository at this point in the history
  • Loading branch information
staszekscp committed Sep 10, 2024
1 parent 2e82d3c commit 8ee9f53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ const ROUTES = {
*/
const HYBRID_APP_ROUTES = {
MONEY_REQUEST_CREATE: '/request/new/scan',
MONEY_REQUEST_SUBMIT_CREATE: '/submit/new/scan',
MONEY_REQUEST_CREATE_TAB_SCAN: '/submit/new/scan',
MONEY_REQUEST_CREATE_TAB_MANUAL: '/submit/new/manual',
MONEY_REQUEST_CREATE_TAB_DISTANCE: '/submit/new/distance',
} as const;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Navigation/Navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function parseHybridAppUrl(url: HybridAppRoute | Route): Route {
case HYBRID_APP_ROUTES.MONEY_REQUEST_CREATE_TAB_DISTANCE:
return ROUTES.MONEY_REQUEST_CREATE_TAB_DISTANCE.getRoute(CONST.IOU.ACTION.CREATE, CONST.IOU.TYPE.SUBMIT, CONST.IOU.OPTIMISTIC_TRANSACTION_ID, ReportUtils.generateReportID());
case HYBRID_APP_ROUTES.MONEY_REQUEST_CREATE:
case HYBRID_APP_ROUTES.MONEY_REQUEST_SUBMIT_CREATE:
case HYBRID_APP_ROUTES.MONEY_REQUEST_CREATE_TAB_SCAN:
return ROUTES.MONEY_REQUEST_CREATE_TAB_SCAN.getRoute(CONST.IOU.ACTION.CREATE, CONST.IOU.TYPE.SUBMIT, CONST.IOU.OPTIMISTIC_TRANSACTION_ID, ReportUtils.generateReportID());
default:
return url;
Expand Down

0 comments on commit 8ee9f53

Please sign in to comment.