Skip to content

Commit

Permalink
Merge pull request #38977 from tienifr/fix/37606
Browse files Browse the repository at this point in the history
fix: Preferences page is visible for a moment when navigate via text link in Focus Mode popup
  • Loading branch information
thienlnam authored Mar 26, 2024
2 parents 6571b37 + 29d051d commit a0010c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ function getAdaptedState(state: PartialState<NavigationState<RootStackParamList>
const lhpNavigator = state.routes.find((route) => route.name === NAVIGATORS.LEFT_MODAL_NAVIGATOR);
const reportAttachmentsScreen = state.routes.find((route) => route.name === SCREENS.REPORT_ATTACHMENTS);

if (isNarrowLayout) {
metainfo.isFullScreenNavigatorMandatory = false;
metainfo.isCentralPaneAndBottomTabMandatory = false;
}

if (rhpNavigator) {
// Routes
// - matching bottom tab
Expand Down

0 comments on commit a0010c6

Please sign in to comment.