Darken splash

This commit is contained in:
Eric Bailey
2024-02-16 11:51:47 -06:00
parent 1b992d5d6b
commit e26ce958f2
+6 -1
View File
@@ -23,6 +23,7 @@ import Svg, {Path, SvgProps} from 'react-native-svg'
import {isAndroid} from '#/platform/detection'
import {useThemePrefs} from 'state/shell'
import {Logotype} from '#/view/icons/Logotype'
import {tokens} from '#/alf'
// @ts-ignore
import splashImagePointer from '../assets/splash.png'
@@ -263,7 +264,11 @@ export function Splash(props: React.PropsWithChildren<Props>) {
<View
style={[
StyleSheet.absoluteFillObject,
{backgroundColor: '#fff'},
{
backgroundColor: isDarkMode
? tokens.color.blue_500
: '#fff',
},
]}
/>
)}