Skip to content

Commit da2899f

Browse files
authored
Merge pull request #90460 from nkdengineer/fix/89560
fix: Sign in section not fit on the screen
2 parents 2fac812 + c32d91a commit da2899f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Navigation/AppNavigator/Navigators/TabNavigatorBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const SCREENS_WITH_TAB_BAR = new Set<string>([
5151
SCREENS.DOMAIN.INITIAL,
5252
]);
5353

54-
const isAtTabRootLevel = (name: string | undefined): boolean => !name || SCREENS_WITH_TAB_BAR.has(name) || TAB_WRAPPER_NAVIGATORS.has(name);
54+
const isAtTabRootLevel = (name: string | undefined): boolean => !!name && (SCREENS_WITH_TAB_BAR.has(name) || TAB_WRAPPER_NAVIGATORS.has(name));
5555

5656
// Deepest `screen` in a `{screen, params}` chain (e.g. WORKSPACE_NAV → WORKSPACE_SPLIT_NAV → WORKSPACE.INITIAL).
5757
const getPushTargetLeaf = (params: unknown): string | undefined => {

0 commit comments

Comments
 (0)