ai/at
1
0

fix social-app patch support page

This commit is contained in:
2026-02-03 10:35:37 +09:00
parent f27cae0669
commit 20c1a36463
7 changed files with 136 additions and 90 deletions

View File

@@ -2,20 +2,30 @@ diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen
index 3442d1bdf..8ed9e3d0d 100644
--- a/src/view/com/auth/SplashScreen.tsx
+++ b/src/view/com/auth/SplashScreen.tsx
@@ -1,5 +1,6 @@
@@ -1,6 +1,8 @@
import {useMemo} from 'react'
-import {Image as RNImage, View} from 'react-native'
+import {Image as RNImage, View, Pressable, Linking} from 'react-native'
+import {Text} from '#/components/Typography'
+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'
@@ -124,6 +125,18 @@ export const SplashScreen = ({
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={() => Linking.openURL('https://syu.is/about/support/license')}>
+ <Pressable onPress={() => navigation.navigate('License' as never)}>
+ <Text
+ style={[
+ a.text_xs,