diff --git a/src/ROUTES.ts b/src/ROUTES.ts index 580523184945..d9a99fe11000 100644 --- a/src/ROUTES.ts +++ b/src/ROUTES.ts @@ -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; diff --git a/src/libs/Navigation/Navigation.ts b/src/libs/Navigation/Navigation.ts index ad9f8ff62fd3..4c61b953f572 100644 --- a/src/libs/Navigation/Navigation.ts +++ b/src/libs/Navigation/Navigation.ts @@ -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;