fix
This commit is contained in:
@@ -1,54 +1,11 @@
|
||||
diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx
|
||||
index 3442d1bdf..034310a17 100644
|
||||
index 3442d1bdf..dd2d1fdfb 100644
|
||||
--- a/src/view/com/auth/SplashScreen.tsx
|
||||
+++ b/src/view/com/auth/SplashScreen.tsx
|
||||
@@ -1,18 +1,18 @@
|
||||
-import {View} from 'react-native'
|
||||
-import Animated, {FadeIn, FadeOut} from 'react-native-reanimated'
|
||||
-import {useSafeAreaInsets} from 'react-native-safe-area-context'
|
||||
-import {msg, Trans} from '@lingui/macro'
|
||||
-import {useLingui} from '@lingui/react'
|
||||
+import { View } from 'react-native'
|
||||
+import Animated, { FadeIn, FadeOut } from 'react-native-reanimated'
|
||||
+import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
||||
+import { msg, Trans } from '@lingui/macro'
|
||||
+import { useLingui } from '@lingui/react'
|
||||
|
||||
-import {useHaptics} from '#/lib/haptics'
|
||||
-import {ErrorBoundary} from '#/view/com/util/ErrorBoundary'
|
||||
-import {CenteredView} from '#/view/com/util/Views'
|
||||
-import {Logo} from '#/view/icons/Logo'
|
||||
-import {Logotype} from '#/view/icons/Logotype'
|
||||
-import {atoms as a, useTheme} from '#/alf'
|
||||
-import {AppLanguageDropdown} from '#/components/AppLanguageDropdown'
|
||||
-import {Button, ButtonText} from '#/components/Button'
|
||||
-import {Text} from '#/components/Typography'
|
||||
+import { useHaptics } from '#/lib/haptics'
|
||||
+import { ErrorBoundary } from '#/view/com/util/ErrorBoundary'
|
||||
+import { CenteredView } from '#/view/com/util/Views'
|
||||
+import { Logo } from '#/view/icons/Logo'
|
||||
+import { Logotype } from '#/view/icons/Logotype'
|
||||
+import { atoms as a, useTheme } from '#/alf'
|
||||
+import { AppLanguageDropdown } from '#/components/AppLanguageDropdown'
|
||||
+import { Button, ButtonText } from '#/components/Button'
|
||||
+import { Text } from '#/components/Typography'
|
||||
|
||||
export const SplashScreen = ({
|
||||
onPressSignin,
|
||||
@@ -22,7 +22,7 @@ export const SplashScreen = ({
|
||||
onPressCreateAccount: () => void
|
||||
}) => {
|
||||
const t = useTheme()
|
||||
- const {_} = useLingui()
|
||||
+ const { _ } = useLingui()
|
||||
|
||||
const playHaptic = useHaptics()
|
||||
const insets = useSafeAreaInsets()
|
||||
@@ -102,7 +102,18 @@ export const SplashScreen = ({
|
||||
@@ -102,6 +102,17 @@ export const SplashScreen = ({
|
||||
<AppLanguageDropdown />
|
||||
</View>
|
||||
</View>
|
||||
- <View style={{height: insets.bottom}} />
|
||||
+ <View
|
||||
+ style={[
|
||||
+ a.px_lg,
|
||||
@@ -60,7 +17,6 @@ index 3442d1bdf..034310a17 100644
|
||||
+ © syui
|
||||
+ </Text>
|
||||
+ </View>
|
||||
+ <View style={{ height: insets.bottom }} />
|
||||
<View style={{height: insets.bottom}} />
|
||||
</ErrorBoundary>
|
||||
</Animated.View>
|
||||
</CenteredView>
|
||||
|
||||
Reference in New Issue
Block a user