Keep android changes

This commit is contained in:
Samuel Newman
2026-01-29 20:20:59 +02:00
parent 7fe71006e2
commit 18354b4d73
10 changed files with 17 additions and 17 deletions
+12 -12
View File
@@ -311,25 +311,25 @@ module.exports = function (_config) {
'expo-splash-screen', 'expo-splash-screen',
{ {
ios: { ios: {
enableFullScreenImage_legacy: true, enableFullScreenImage_legacy: true, // iOS only
backgroundColor: '#ffffff', backgroundColor: '#A8CCFF', // primary_200
image: './assets/splash.png', image: './assets/splash/splash.png',
resizeMode: 'cover', resizeMode: 'cover',
dark: { dark: {
enableFullScreenImage_legacy: true, enableFullScreenImage_legacy: true, // iOS only
backgroundColor: '#001429', backgroundColor: '#00398A', // primary_800
image: './assets/splash-dark.png', image: './assets/splash/splash-dark.png',
resizeMode: 'cover', resizeMode: 'cover',
}, },
}, },
android: { android: {
backgroundColor: '#0c7cff', backgroundColor: '#A8CCFF', // primary_200
image: './assets/splash-android-icon.png', image: './assets/splash/android-splash-logo-white.png',
imageWidth: 150, imageWidth: 105,
dark: { dark: {
backgroundColor: '#0c2a49', backgroundColor: '#00398A', // primary_800
image: './assets/splash-android-icon-dark.png', image: './assets/splash/android-splash-logo-white.png',
imageWidth: 150, imageWidth: 105,
}, },
}, },
}, },
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 606 KiB

Before

Width:  |  Height:  |  Size: 563 KiB

After

Width:  |  Height:  |  Size: 563 KiB

+2 -2
View File
@@ -21,9 +21,9 @@ import * as SplashScreen from 'expo-splash-screen'
import {Logotype} from '#/view/icons/Logotype' import {Logotype} from '#/view/icons/Logotype'
// @ts-ignore // @ts-ignore
import splashImagePointer from '../assets/splash.png' import splashImagePointer from '../assets/splash/splash.png'
// @ts-ignore // @ts-ignore
import darkSplashImagePointer from '../assets/splash-dark.png' import darkSplashImagePointer from '../assets/splash/splash-dark.png'
const splashImageUri = RNImage.resolveAssetSource(splashImagePointer).uri const splashImageUri = RNImage.resolveAssetSource(splashImagePointer).uri
const darkSplashImageUri = RNImage.resolveAssetSource( const darkSplashImageUri = RNImage.resolveAssetSource(
darkSplashImagePointer, darkSplashImagePointer,
+3 -3
View File
@@ -11,9 +11,9 @@ import {Logotype} from '#/view/icons/Logotype'
import {atoms as a, useTheme} from '#/alf' import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button' import {Button, ButtonText} from '#/components/Button'
// @ts-ignore // @ts-ignore
import splashImagePointer from '../../../../assets/splash/splash-mobile.png' import splashImagePointer from '../../../../assets/splash/illustration-mobile.png'
// @ts-ignore // @ts-ignore
import darkSplashImagePointer from '../../../../assets/splash/splash-mobile-dark.png' import darkSplashImagePointer from '../../../../assets/splash/illustration-mobile-dark.png'
const splashImageUri = RNImage.resolveAssetSource(splashImagePointer).uri const splashImageUri = RNImage.resolveAssetSource(splashImagePointer).uri
const darkSplashImageUri = RNImage.resolveAssetSource( const darkSplashImageUri = RNImage.resolveAssetSource(
darkSplashImagePointer, darkSplashImagePointer,
@@ -78,7 +78,7 @@ export const SplashScreen = ({
<View <View
testID="signinOrCreateAccount" testID="signinOrCreateAccount"
style={[a.px_xl, a.gap_md, a.pb_sm]}> style={[a.px_5xl, a.gap_md, a.pb_sm]}>
<View <View
style={[ style={[
t.atoms.shadow_md, t.atoms.shadow_md,