Revert "temporarily disable splash"

This reverts commit 3c36687ba6.
This commit is contained in:
Hailey
2024-08-04 18:30:55 -07:00
parent da05218268
commit 8b5bd0ffed
+9 -10
View File
@@ -1,27 +1,28 @@
import React, {useCallback, useEffect} from 'react'
import {
AccessibilityInfo,
Image as RNImage,
StyleSheet,
useColorScheme,
View,
StyleSheet,
Image as RNImage,
AccessibilityInfo,
useColorScheme,
} from 'react-native'
import * as SplashScreen from 'expo-splash-screen'
import {Image} from 'expo-image'
import Animated, {
Easing,
interpolate,
runOnJS,
useAnimatedStyle,
useSharedValue,
withTiming,
Easing,
} from 'react-native-reanimated'
import MaskedView from '@react-native-masked-view/masked-view'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import Svg, {Path, SvgProps} from 'react-native-svg'
import {Image} from 'expo-image'
import * as SplashScreen from 'expo-splash-screen'
import MaskedView from '@react-native-masked-view/masked-view'
import {isAndroid} from '#/platform/detection'
import {Logotype} from '#/view/icons/Logotype'
// @ts-ignore
import splashImagePointer from '../assets/splash.png'
// @ts-ignore
@@ -183,8 +184,6 @@ export function Splash(props: React.PropsWithChildren<Props>) {
// special off-spec color for dark mode
const logoBg = isDarkMode ? '#0F1824' : '#fff'
return props.children
return (
<View style={{flex: 1}} onLayout={onLayout}>
{!isAnimationComplete && (