diff --git a/src/libs/Navigation/Navigation.ts b/src/libs/Navigation/Navigation.ts index c55145a5d580..25d9f3de1184 100644 --- a/src/libs/Navigation/Navigation.ts +++ b/src/libs/Navigation/Navigation.ts @@ -246,14 +246,6 @@ function resetToHome() { navigationRef.dispatch({...StackActions.popToTop(), target: rootState.key}); } -/** - * Close the full screen modal. - */ -function closeFullScreen() { - const rootState = navigationRef.getRootState(); - navigationRef.dispatch({...StackActions.popToTop(), target: rootState.key}); -} - /** * Update route params for the specified route. */ @@ -376,7 +368,6 @@ export default { getTopmostReportActionId, waitForProtectedRoutes, parseHybridAppUrl, - closeFullScreen, navigateWithSwitchPolicyID, resetToHome, };