Skip to content

Commit

Permalink
feat: add back button handling
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Feb 21, 2024
1 parent 55a742d commit 7b7eee1
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 @@ -23,6 +23,7 @@ function dismissModal(navigationRef: NavigationContainerRef<RootStackParamList>)
case NAVIGATORS.FULL_SCREEN_NAVIGATOR:
case NAVIGATORS.LEFT_MODAL_NAVIGATOR:
case NAVIGATORS.RIGHT_MODAL_NAVIGATOR:
case NAVIGATORS.SHARE_MODAL_NAVIGATOR:
case SCREENS.NOT_FOUND:
case SCREENS.REPORT_ATTACHMENTS:
navigationRef.dispatch({...StackActions.pop(), target: state.key});
Expand Down

0 comments on commit 7b7eee1

Please sign in to comment.