···1010const AnimatedTouchableOpacity =
1111 Animated.createAnimatedComponent(TouchableOpacity)
1212import {isWeb} from 'platform/detection'
1313+import {useSession} from 'state/session'
13141415export function LoadLatestBtn({
1516 onPress,
···2122 showIndicator: boolean
2223}) {
2324 const pal = usePalette('default')
2424- const {isDesktop, isTablet, isMobile} = useWebMediaQueries()
2525+ const {hasSession} = useSession()
2626+ const {isDesktop, isTablet, isMobile, isTabletOrMobile} = useWebMediaQueries()
2527 const {fabMinimalShellTransform} = useMinimalShellMode()
26282929+ // Adjust height of the fab if we have a session only on mobile web. If we don't have a session, we want to adjust
3030+ // it on both tablet and mobile since we are showing the bottom bar (see createNativeStackNavigatorWithAuth)
3131+ const showBottomBar = hasSession ? isMobile : isTabletOrMobile
3232+2733 return (
2834 <AnimatedTouchableOpacity
2935 style={[
···3238 isTablet && styles.loadLatestTablet,
3339 pal.borderDark,
3440 pal.view,
3535- isMobile && fabMinimalShellTransform,
4141+ showBottomBar && fabMinimalShellTransform,
3642 ]}
3743 onPress={onPress}
3844 hitSlop={HITSLOP_20}
···101101 const onboardingState = useOnboardingState()
102102 const {showLoggedOut} = useLoggedOutView()
103103 const {setShowLoggedOut} = useLoggedOutViewControls()
104104- const {isMobile} = useWebMediaQueries()
104104+ const {isMobile, isTabletOrMobile} = useWebMediaQueries()
105105 if ((!PWI_ENABLED || activeRouteRequiresAuth) && !hasSession) {
106106 return <LoggedOut />
107107 }
···134134 }
135135 }
136136137137+ // 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
138138+ // on both tablet and mobile web so that we see the sign up CTA.
139139+ const showBottomBar = hasSession ? isMobile : isTabletOrMobile
140140+137141 return (
138142 <NavigationContent>
139143 <NativeStackView
···142146 navigation={navigation}
143147 descriptors={newDescriptors}
144148 />
145145- {isWeb && isMobile && <BottomBarWeb />}
146146- {isWeb && !isMobile && (
149149+ {isWeb && showBottomBar && <BottomBarWeb />}
150150+ {isWeb && !showBottomBar && (
147151 <>
148152 <DesktopLeftNav />
149153 <DesktopRightNav routeName={activeRoute.name} />