From 1be7a4835e43ddbbbc64346af663c39da969ebab Mon Sep 17 00:00:00 2001 From: Carlos Barros <765936+barros001@users.noreply.github.com> Date: Fri, 15 Mar 2024 15:21:00 -0400 Subject: [PATCH] removed unused closeFullScreen function --- src/libs/Navigation/Navigation.ts | 9 --------- 1 file changed, 9 deletions(-) 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, };