Skip to content

Commit

Permalink
fix: hide hidden header logic (#11191)
Browse files Browse the repository at this point in the history
  • Loading branch information
MounirDhahri authored Nov 25, 2024
1 parent 1830752 commit d5ea9a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/Navigation/AuthenticatedRoutes/StackNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const registerScreen: React.FC<StackNavigatorScreenProps> = ({ name, modu
const isFullBleed =
module.options.fullBleed ??
// when no header is visible, we want to make sure we are bound by the insets
module.options.screenOptions?.headerShown ??
isHeaderShown(module)

const hidesBottomTabs = module.options.hidesBottomTabs || isModalScreen(module)
Expand Down

0 comments on commit d5ea9a9

Please sign in to comment.