Skip to content

Commit

Permalink
Merge pull request #38418 from barros001/fix/36509
Browse files Browse the repository at this point in the history
removed unused closeFullScreen function
  • Loading branch information
tgolen authored Mar 25, 2024
2 parents ac25b70 + 1be7a48 commit bd3bfba
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 bd3bfba

Please sign in to comment.