Skip to content

Commit

Permalink
Merge pull request #50254 from Nodebrute/ioscrashfix
Browse files Browse the repository at this point in the history
fix ios crash
  • Loading branch information
mjasikowski authored Oct 7, 2024
2 parents 0c4b2d1 + f903418 commit 521e6dd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function beforeRemoveReportOpenedFromSearchRHP(event: EventArg<'beforeRemove', t
state.routes?.length >= 3 &&
state.routes.at(-1)?.name === SCREENS.REPORT &&
state.routes.at(-2)?.name === NAVIGATORS.RIGHT_MODAL_NAVIGATOR &&
state.routes.at(-3)?.name === SCREENS.SEARCH.CENTRAL_PANE &&
getTopmostBottomTabRoute(state)?.name === SCREENS.HOME;

if (!shouldPopHome) {
Expand Down

0 comments on commit 521e6dd

Please sign in to comment.