···55// Copyright (c) 2017 React Navigation Contributors
66import {
77 createNavigatorFactory,
88- EventArg,
99- ParamListBase,
1010- StackActionHelpers,
88+ type EventArg,
99+ type ParamListBase,
1010+ type StackActionHelpers,
1111 StackActions,
1212- StackNavigationState,
1212+ type StackNavigationState,
1313 StackRouter,
1414- StackRouterOptions,
1414+ type StackRouterOptions,
1515 useNavigationBuilder,
1616} from '@react-navigation/native'
1717-import type {
1818- NativeStackNavigationEventMap,
1919- NativeStackNavigationOptions,
1717+import {
1818+ type NativeStackNavigationEventMap,
1919+ type NativeStackNavigationOptions,
2020} from '@react-navigation/native-stack'
2121import {NativeStackView} from '@react-navigation/native-stack'
2222-import type {NativeStackNavigatorProps} from '@react-navigation/native-stack/src/types'
2222+import {type NativeStackNavigatorProps} from '@react-navigation/native-stack/src/types'
23232424import {PWI_ENABLED} from '#/lib/build-flags'
2525import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
···3535import {Onboarding} from '#/screens/Onboarding'
3636import {SignupQueued} from '#/screens/SignupQueued'
3737import {Takendown} from '#/screens/Takendown'
3838-import {atoms as a} from '#/alf'
3838+import {atoms as a, useLayoutBreakpoints} from '#/alf'
3939import {BottomBarWeb} from './bottom-bar/BottomBarWeb'
4040import {DesktopLeftNav} from './desktop/LeftNav'
4141import {DesktopRightNav} from './desktop/RightNav'
···101101 const onboardingState = useOnboardingState()
102102 const {showLoggedOut} = useLoggedOutView()
103103 const {setShowLoggedOut} = useLoggedOutViewControls()
104104- const {isMobile, isTabletOrMobile} = useWebMediaQueries()
104104+ const {isMobile} = useWebMediaQueries()
105105+ const {leftNavMinimal} = useLayoutBreakpoints()
105106 if (!hasSession && (!PWI_ENABLED || activeRouteRequiresAuth || isNative)) {
106107 return <LoggedOut />
107108 }
···138139139140 // Show the bottom bar if we have a session only on mobile web. If we don't have a session, we want to show it
140141 // on both tablet and mobile web so that we see the create account CTA.
141141- const showBottomBar = hasSession ? isMobile : isTabletOrMobile
142142+ const showBottomBar = hasSession ? isMobile : leftNavMinimal
142143143144 return (
144145 <NavigationContent>