diff --git a/src/routes.ts b/src/routes.ts --- a/src/routes.ts +++ b/src/routes.ts @@ -74,6 +74,7 @@ export const router = new Router({ PrivacyPolicy: 'https://syu.is/about/support/privacy-policy', TermsOfService: 'https://syu.is/about/support/tos', CommunityGuidelines: '/support/community-guidelines', + License: 'https://syu.is/about/support/license', CopyrightPolicy: '/support/copyright', // hashtags Hashtag: '/hashtag/:tag', diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx --- a/src/view/com/auth/SplashScreen.tsx +++ b/src/view/com/auth/SplashScreen.tsx @@ -1,4 +1,5 @@ import {View} from 'react-native' +import {Pressable, Linking} 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' @@ -40,16 +41,6 @@ export const SplashScreen = ({ - - - What's up? - + + Linking.openURL('https://syu.is/about/support/license')}> + + License + + + + + © syui + diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx --- 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? -