diff --git a/src/libs/Navigation/Navigation.ts b/src/libs/Navigation/Navigation.ts index d57d0272738b..1924e3c3d1fa 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, };