diff --git a/src/libs/Navigation/dismissModal.ts b/src/libs/Navigation/dismissModal.ts index 484008d2e070..eaf1ca7bd0e9 100644 --- a/src/libs/Navigation/dismissModal.ts +++ b/src/libs/Navigation/dismissModal.ts @@ -23,6 +23,7 @@ function dismissModal(navigationRef: NavigationContainerRef) 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});