From 74b0929e4d79690394c1217f63e458da5bf7317b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 17 Oct 2024 18:48:38 +0300 Subject: 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 --- src/Splash.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/Splash.tsx') 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 -- cgit 1.4.1