Skip to content

Commit

Permalink
removed unused closeFullScreen function
Browse files Browse the repository at this point in the history
  • Loading branch information
barros001 committed Mar 15, 2024
1 parent 90ff6b8 commit 1be7a48
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/libs/Navigation/Navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -376,7 +368,6 @@ export default {
getTopmostReportActionId,
waitForProtectedRoutes,
parseHybridAppUrl,
closeFullScreen,
navigateWithSwitchPolicyID,
resetToHome,
};
Expand Down

0 comments on commit 1be7a48

Please sign in to comment.