61 lines
2.0 KiB
Diff
61 lines
2.0 KiB
Diff
diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx
|
|
index 3442d1bdf..8ed9e3d0d 100644
|
|
--- a/src/view/com/auth/SplashScreen.tsx
|
|
+++ b/src/view/com/auth/SplashScreen.tsx
|
|
@@ -1,6 +1,8 @@
|
|
import {useMemo} from 'react'
|
|
-import {Image as RNImage, View} from 'react-native'
|
|
+import {Image as RNImage, View, Pressable} from 'react-native'
|
|
+import {useNavigation} from '@react-navigation/native'
|
|
import Animated, {FadeIn, FadeOut} from 'react-native-reanimated'
|
|
+import {Text} from '#/components/Typography'
|
|
import {Image} from 'expo-image'
|
|
import {msg, Trans} from '@lingui/macro'
|
|
import {useLingui} from '@lingui/react'
|
|
@@ -22,6 +24,7 @@ export const SplashScreen = ({
|
|
onPressCreateAccount: () => void
|
|
}) => {
|
|
const t = useTheme()
|
|
+ const navigation = useNavigation()
|
|
const {_} = useLingui()
|
|
const isDarkMode = t.name !== 'light'
|
|
|
|
@@ -124,6 +127,18 @@ export const SplashScreen = ({
|
|
</ButtonText>
|
|
</Button>
|
|
</View>
|
|
+ <View style={[a.pb_sm, a.justify_center, a.align_center]}>
|
|
+ <Pressable onPress={() => navigation.navigate('License' as never)}>
|
|
+ <Text
|
|
+ style={[
|
|
+ a.text_xs,
|
|
+ t.atoms.text_contrast_low,
|
|
+ {textDecorationLine: 'underline'},
|
|
+ ]}>
|
|
+ License
|
|
+ </Text>
|
|
+ </Pressable>
|
|
+ </View>
|
|
</Animated.View>
|
|
</>
|
|
)
|
|
diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx
|
|
index 22dd23d7f..7ceb3800e 100644
|
|
--- a/src/view/com/auth/SplashScreen.web.tsx
|
|
+++ b/src/view/com/auth/SplashScreen.web.tsx
|
|
@@ -94,14 +94,6 @@ export const SplashScreen = ({
|
|
</View>
|
|
)}
|
|
|
|
- <Text
|
|
- style={[
|
|
- a.text_md,
|
|
- a.font_semi_bold,
|
|
- t.atoms.text_contrast_medium,
|
|
- ]}>
|
|
- <Trans>What's up?</Trans>
|
|
- </Text>
|
|
</View>
|
|
|
|
<View
|