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 4a68d5a575
7 changed files with 143 additions and 98 deletions

View File

@@ -1,26 +1,35 @@
diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen.tsx
index 3442d1bdf..8ed9e3d0d 100644
index cc4477696..b5ca66d2f 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'
@@ -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 = ({
</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,
+ t.atoms.text_contrast_low,
+ {textDecorationLine: 'underline'},
+ {color: '#000000', textDecorationLine: 'underline'},
+ ]}>
+ License
+ </Text>
@@ -30,13 +39,13 @@ index 3442d1bdf..8ed9e3d0d 100644
</>
)
diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx
index 22dd23d7f..7ceb3800e 100644
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 = ({
</View>
)}
</View>
)}
- <Text
- style={[
- a.text_md,
@@ -46,5 +55,5 @@ index 22dd23d7f..7ceb3800e 100644
- <Trans>What's up?</Trans>
- </Text>
</View>
<View