Skip to content

Commit

Permalink
fix escape on account settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Dec 18, 2023
1 parent 5d47480 commit ecd4e26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/Navigation/dismissModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function dismissModal(targetReportID: string, navigationRef: NavigationContainer
const state = navigationRef.getState();
const lastRoute = state.routes.at(-1);
switch (lastRoute?.name) {
case NAVIGATORS.FULL_SCREEN_NAVIGATOR:
case NAVIGATORS.LEFT_MODAL_NAVIGATOR:
case NAVIGATORS.RIGHT_MODAL_NAVIGATOR:
case SCREENS.NOT_FOUND:
Expand Down

0 comments on commit ecd4e26

Please sign in to comment.