diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-17 18:48:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 18:48:38 +0300 |
commit | 74b0929e4d79690394c1217f63e458da5bf7317b (patch) | |
tree | 0f285273e4ede1a5d3a408abe5f60db40af53c80 /src/Splash.tsx | |
parent | 9a91746fbbd4d8e028195813bb0d47497a9cb4bf (diff) | |
download | voidsky-74b0929e4d79690394c1217f63e458da5bf7317b.tar.zst |
Logged out improvments (#5771)
* fetch all accounts in one go * delete unused component * add safeareaview to logged out layout * add safe area insets to LoggedOut view * add safe area insets to the error boundary * sanitize displaynames/handles * use button for X * increase spacing
Diffstat (limited to 'src/Splash.tsx')
-rw-r--r-- | src/Splash.tsx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Splash.tsx b/src/Splash.tsx index 42a21c083..8acf75875 100644 --- a/src/Splash.tsx +++ b/src/Splash.tsx @@ -1,28 +1,27 @@ import React, {useCallback, useEffect} from 'react' import { - View, - StyleSheet, - Image as RNImage, AccessibilityInfo, + Image as RNImage, + StyleSheet, useColorScheme, + View, } 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 |