diff options
Diffstat (limited to 'src/Splash.tsx')
-rw-r--r-- | src/Splash.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Splash.tsx b/src/Splash.tsx index 99f9a100d..80d0a66e7 100644 --- a/src/Splash.tsx +++ b/src/Splash.tsx @@ -21,7 +21,7 @@ import {useSafeAreaInsets} from 'react-native-safe-area-context' import Svg, {Path, SvgProps} from 'react-native-svg' import {isAndroid} from '#/platform/detection' -import {useColorMode} from '#/state/shell' +import {useThemePrefs} from 'state/shell' import {Logotype} from '#/view/icons/Logotype' // @ts-ignore @@ -75,7 +75,7 @@ export function Splash(props: React.PropsWithChildren<Props>) { isLayoutReady && reduceMotion !== undefined - const colorMode = useColorMode() + const {colorMode} = useThemePrefs() const colorScheme = useColorScheme() const themeName = colorMode === 'system' ? colorScheme : colorMode const isDarkMode = themeName === 'dark' |