my fork of the bluesky client

Fix leaking background (#6642)

authored by danabra.mov and committed by

GitHub ba04bb58 7fa47ef3

+3 -1
+3 -1
src/view/shell/index.tsx
··· 9 9 import {useDedupe} from '#/lib/hooks/useDedupe' 10 10 import {useIntentHandler} from '#/lib/hooks/useIntentHandler' 11 11 import {useNotificationsHandler} from '#/lib/hooks/useNotificationHandler' 12 + import {usePalette} from '#/lib/hooks/usePalette' 12 13 import {useNotificationsRegistration} from '#/lib/notifications/notifications' 13 14 import {isStateAtTabRoot} from '#/lib/routes/helpers' 14 15 import {useTheme} from '#/lib/ThemeContext' ··· 132 133 export const Shell: React.FC = function ShellImpl() { 133 134 const {fullyExpandedCount} = useDialogStateControlContext() 134 135 const theme = useTheme() 136 + const pal = usePalette('default') 135 137 useIntentHandler() 136 138 137 139 React.useEffect(() => { ··· 144 146 } 145 147 }, [theme]) 146 148 return ( 147 - <View testID="mobileShellView" style={[styles.outerContainer]}> 149 + <View testID="mobileShellView" style={[styles.outerContainer, pal.view]}> 148 150 <StatusBar 149 151 style={ 150 152 theme.colorScheme === 'dark' || (isIOS && fullyExpandedCount > 0)