From ecd4e26e92f12a04b75f56e39ea84c2728616943 Mon Sep 17 00:00:00 2001 From: Jakub Kosmydel <104823336+kosmydel@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:53:40 +0100 Subject: [PATCH] fix escape on account settings --- 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 37b4c6d9b9e6..f142982a1adc 100644 --- a/src/libs/Navigation/dismissModal.ts +++ b/src/libs/Navigation/dismissModal.ts @@ -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: