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