From 7b7eee169cca9614d1de054acddcb8873d42a87b Mon Sep 17 00:00:00 2001 From: Bartosz Grajdek Date: Wed, 21 Feb 2024 13:14:28 +0100 Subject: [PATCH] feat: add back button handling --- src/libs/Navigation/dismissModal.ts | 1 + 1 file changed, 1 insertion(+) 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});