Skip to content

Commit

Permalink
add escape support
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Nov 27, 2023
1 parent 65a1871 commit a1de980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/Navigation/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ function dismissModal(targetReportID) {
const lastRoute = _.last(rootState.routes);
switch (lastRoute.name) {
case NAVIGATORS.RIGHT_MODAL_NAVIGATOR:
case NAVIGATORS.FULL_SCREEN_NAVIGATOR:
case SCREENS.NOT_FOUND:
case SCREENS.REPORT_ATTACHMENTS:
// if we are not in the target report, we need to navigate to it after dismissing the modal
Expand Down

0 comments on commit a1de980

Please sign in to comment.