diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx index cc4477696..b5ca66d2f 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' @@ -27,6 +29,7 @@ export const SplashScreen = ({ onPressCreateAccount: () => void }) => { const t = useTheme() + const navigation = useNavigation() const {_} = useLingui() const isDarkMode = t.name !== 'light' @@ -124,6 +127,17 @@ export const SplashScreen = ({ + + navigation.navigate('License' as never)}> + + License + + + ) diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx index d9185d778..504f521a4 100644 --- a/src/view/com/auth/SplashScreen.web.tsx +++ b/src/view/com/auth/SplashScreen.web.tsx @@ -94,14 +94,6 @@ export const SplashScreen = ({ )} - - What's up? -