fix
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx
|
diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx
|
||||||
index a89eaadc4..1da393f03 100644
|
index a89eaadc4..49edc00d9 100644
|
||||||
--- a/src/view/screens/PrivacyPolicy.tsx
|
--- a/src/view/screens/PrivacyPolicy.tsx
|
||||||
+++ b/src/view/screens/PrivacyPolicy.tsx
|
+++ b/src/view/screens/PrivacyPolicy.tsx
|
||||||
@@ -1,52 +1,13 @@
|
@@ -1,51 +1,63 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
-import {View} from 'react-native'
|
-import {View} from 'react-native'
|
||||||
-import {msg, Trans} from '@lingui/macro'
|
-import {msg, Trans} from '@lingui/macro'
|
||||||
@@ -19,7 +19,7 @@ index a89eaadc4..1da393f03 100644
|
|||||||
-import {TextLink} from '#/view/com/util/Link'
|
-import {TextLink} from '#/view/com/util/Link'
|
||||||
-import {Text} from '#/view/com/util/text/Text'
|
-import {Text} from '#/view/com/util/text/Text'
|
||||||
-import {ScrollView} from '#/view/com/util/Views'
|
-import {ScrollView} from '#/view/com/util/Views'
|
||||||
+import { WebView } from 'react-native-webview'
|
+import { ScrollView } from 'react-native'
|
||||||
import * as Layout from '#/components/Layout'
|
import * as Layout from '#/components/Layout'
|
||||||
-import {ViewHeader} from '../com/util/ViewHeader'
|
-import {ViewHeader} from '../com/util/ViewHeader'
|
||||||
-
|
-
|
||||||
@@ -35,9 +35,13 @@ index a89eaadc4..1da393f03 100644
|
|||||||
- }, [setMinimalShellMode]),
|
- }, [setMinimalShellMode]),
|
||||||
- )
|
- )
|
||||||
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
||||||
|
+import {atoms as a, useTheme} from '#/alf'
|
||||||
|
+import {Text} from '#/components/Typography'
|
||||||
|
+
|
||||||
+export function PrivacyPolicyScreen() {
|
+export function PrivacyPolicyScreen() {
|
||||||
+ useSetTitle('Privacy Policy')
|
+ useSetTitle('Privacy Policy')
|
||||||
|
+ const t = useTheme()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout.Screen>
|
<Layout.Screen>
|
||||||
- <ViewHeader title={_(msg`Privacy Policy`)} />
|
- <ViewHeader title={_(msg`Privacy Policy`)} />
|
||||||
@@ -55,16 +59,61 @@ index a89eaadc4..1da393f03 100644
|
|||||||
- </Text>
|
- </Text>
|
||||||
- </View>
|
- </View>
|
||||||
- <View style={s.footerSpacer} />
|
- <View style={s.footerSpacer} />
|
||||||
- </ScrollView>
|
+ <ScrollView
|
||||||
+ <WebView source={{ uri: 'https://syu.is/about/support/privacy-policy' }} style={{ flex: 1 }} />
|
+ style={[a.flex_1, {backgroundColor: t.palette.white}]}
|
||||||
|
+ contentContainerStyle={[a.p_lg, a.pt_5xl, a.pb_5xl]}>
|
||||||
|
+ <Text style={[a.text_2xl, a.font_bold, a.mb_lg]}>Privacy Policy / プライバシーポリシー</Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>1. 収集する情報</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスでは、以下の情報を収集します:{'\n'}
|
||||||
|
+ • アカウント情報(ユーザー名、プロフィール情報){'\n'}
|
||||||
|
+ • 投稿内容とメディア{'\n'}
|
||||||
|
+ • 利用状況データ(アクセス日時、IPアドレス等)
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>2. 情報の利用目的</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 収集した情報は以下の目的で利用します:{'\n'}
|
||||||
|
+ • サービスの提供と改善{'\n'}
|
||||||
|
+ • ユーザーサポート{'\n'}
|
||||||
|
+ • 不正行為の防止{'\n'}
|
||||||
|
+ • 統計分析
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>3. 情報の共有</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスは AT Protocol を使用した分散型ネットワークです。
|
||||||
|
+ 公開設定された投稿内容は、他の AT Protocol 互換サーバーと共有されます。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>4. データの保管と削除</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ ユーザーデータは適切なセキュリティ対策のもとで保管されます。
|
||||||
|
+ アカウント削除時には、関連するデータも削除されます。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>5. Cookie の使用</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスでは、ユーザー体験の向上のために Cookie を使用する場合があります。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>6. お問い合わせ</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ プライバシーに関するご質問は、サービス管理者までお問い合わせください。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_sm, a.mt_xl, {color: t.palette.contrast_500}]}>
|
||||||
|
+ 最終更新日: 2025年
|
||||||
|
+ </Text>
|
||||||
|
</ScrollView>
|
||||||
</Layout.Screen>
|
</Layout.Screen>
|
||||||
)
|
)
|
||||||
}
|
|
||||||
diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx
|
diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx
|
||||||
index d843c713c..b81767bd5 100644
|
index d843c713c..0d8fae626 100644
|
||||||
--- a/src/view/screens/TermsOfService.tsx
|
--- a/src/view/screens/TermsOfService.tsx
|
||||||
+++ b/src/view/screens/TermsOfService.tsx
|
+++ b/src/view/screens/TermsOfService.tsx
|
||||||
@@ -1,50 +1,13 @@
|
@@ -1,49 +1,57 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
-import {View} from 'react-native'
|
-import {View} from 'react-native'
|
||||||
-import {msg, Trans} from '@lingui/macro'
|
-import {msg, Trans} from '@lingui/macro'
|
||||||
@@ -81,7 +130,7 @@ index d843c713c..b81767bd5 100644
|
|||||||
-import {TextLink} from '#/view/com/util/Link'
|
-import {TextLink} from '#/view/com/util/Link'
|
||||||
-import {Text} from '#/view/com/util/text/Text'
|
-import {Text} from '#/view/com/util/text/Text'
|
||||||
-import {ScrollView} from '#/view/com/util/Views'
|
-import {ScrollView} from '#/view/com/util/Views'
|
||||||
+import { WebView } from 'react-native-webview'
|
+import { ScrollView } from 'react-native'
|
||||||
import * as Layout from '#/components/Layout'
|
import * as Layout from '#/components/Layout'
|
||||||
-import {ViewHeader} from '../com/util/ViewHeader'
|
-import {ViewHeader} from '../com/util/ViewHeader'
|
||||||
-
|
-
|
||||||
@@ -97,9 +146,13 @@ index d843c713c..b81767bd5 100644
|
|||||||
- }, [setMinimalShellMode]),
|
- }, [setMinimalShellMode]),
|
||||||
- )
|
- )
|
||||||
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
+import {useSetTitle} from '#/lib/hooks/useSetTitle'
|
||||||
|
+import {atoms as a, useTheme} from '#/alf'
|
||||||
|
+import {Text} from '#/components/Typography'
|
||||||
|
+
|
||||||
+export function TermsOfServiceScreen() {
|
+export function TermsOfServiceScreen() {
|
||||||
+ useSetTitle('Terms of Service')
|
+ useSetTitle('Terms of Service')
|
||||||
|
+ const t = useTheme()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout.Screen>
|
<Layout.Screen>
|
||||||
- <ViewHeader title={_(msg`Terms of Service`)} />
|
- <ViewHeader title={_(msg`Terms of Service`)} />
|
||||||
@@ -115,8 +168,47 @@ index d843c713c..b81767bd5 100644
|
|||||||
- </Text>
|
- </Text>
|
||||||
- </View>
|
- </View>
|
||||||
- <View style={s.footerSpacer} />
|
- <View style={s.footerSpacer} />
|
||||||
- </ScrollView>
|
+ <ScrollView
|
||||||
+ <WebView source={{ uri: 'https://syu.is/about/support/tos' }} style={{ flex: 1 }} />
|
+ style={[a.flex_1, {backgroundColor: t.palette.white}]}
|
||||||
|
+ contentContainerStyle={[a.p_lg, a.pt_5xl, a.pb_5xl]}>
|
||||||
|
+ <Text style={[a.text_2xl, a.font_bold, a.mb_lg]}>Terms of Service / 利用規約</Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>1. 利用条件</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスを利用することで、以下の利用規約に同意したものとみなされます。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>2. サービスの利用</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスは AT Protocol(Authenticated Transfer Protocol)を使用した分散型ソーシャルネットワークです。
|
||||||
|
+ ユーザーは本サービスを通じて他のユーザーと交流し、コンテンツを共有することができます。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>3. 禁止事項</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 以下の行為を禁止します:{'\n'}
|
||||||
|
+ • 法令に違反する行為{'\n'}
|
||||||
|
+ • 他者の権利を侵害する行為{'\n'}
|
||||||
|
+ • 迷惑行為やハラスメント{'\n'}
|
||||||
|
+ • 虚偽の情報の発信{'\n'}
|
||||||
|
+ • システムへの不正アクセス
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>4. 免責事項</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本サービスは「現状有姿」で提供されます。サービスの中断、エラー、データの損失について、
|
||||||
|
+ 運営者は一切の責任を負いません。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_lg, a.font_bold, a.mt_lg, a.mb_md]}>5. 規約の変更</Text>
|
||||||
|
+ <Text style={[a.mb_md]}>
|
||||||
|
+ 本規約は予告なく変更されることがあります。変更後も本サービスを継続して利用する場合は、
|
||||||
|
+ 変更後の規約に同意したものとみなされます。
|
||||||
|
+ </Text>
|
||||||
|
+
|
||||||
|
+ <Text style={[a.text_sm, a.mt_xl, {color: t.palette.contrast_500}]}>
|
||||||
|
+ 最終更新日: 2025年
|
||||||
|
+ </Text>
|
||||||
|
</ScrollView>
|
||||||
</Layout.Screen>
|
</Layout.Screen>
|
||||||
)
|
)
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/src/screens/Settings/AboutSettings.tsx b/src/screens/Settings/AboutSettings.tsx
|
diff --git a/src/screens/Settings/AboutSettings.tsx b/src/screens/Settings/AboutSettings.tsx
|
||||||
index 6b8257b91..1aa59eb0d 100644
|
index 6b8257b91..48ba7909e 100644
|
||||||
--- a/src/screens/Settings/AboutSettings.tsx
|
--- a/src/screens/Settings/AboutSettings.tsx
|
||||||
+++ b/src/screens/Settings/AboutSettings.tsx
|
+++ b/src/screens/Settings/AboutSettings.tsx
|
||||||
@@ -80,7 +80,7 @@ export function AboutSettingsScreen({}: Props) {
|
@@ -80,7 +80,7 @@ export function AboutSettingsScreen({}: Props) {
|
||||||
@@ -7,30 +7,16 @@ index 6b8257b91..1aa59eb0d 100644
|
|||||||
<SettingsList.Container>
|
<SettingsList.Container>
|
||||||
<SettingsList.LinkItem
|
<SettingsList.LinkItem
|
||||||
- to="https://bsky.social/about/support/tos"
|
- to="https://bsky.social/about/support/tos"
|
||||||
+ to="/about/support/tos"
|
+ to="https://syu.is/about/support/tos"
|
||||||
label={_(msg`Terms of Service`)}>
|
label={_(msg`Terms of Service`)}>
|
||||||
<SettingsList.ItemIcon icon={NewspaperIcon} />
|
<SettingsList.ItemIcon icon={NewspaperIcon} />
|
||||||
<SettingsList.ItemText>
|
<SettingsList.ItemText>
|
||||||
@@ -88,13 +88,21 @@ export function AboutSettingsScreen({}: Props) {
|
@@ -88,7 +88,7 @@ export function AboutSettingsScreen({}: Props) {
|
||||||
</SettingsList.ItemText>
|
</SettingsList.ItemText>
|
||||||
</SettingsList.LinkItem>
|
</SettingsList.LinkItem>
|
||||||
<SettingsList.LinkItem
|
<SettingsList.LinkItem
|
||||||
- to="https://bsky.social/about/support/privacy-policy"
|
- to="https://bsky.social/about/support/privacy-policy"
|
||||||
+ to="/about/support/privacy-policy"
|
+ to="https://syu.is/about/support/privacy-policy"
|
||||||
label={_(msg`Privacy Policy`)}>
|
label={_(msg`Privacy Policy`)}>
|
||||||
<SettingsList.ItemIcon icon={NewspaperIcon} />
|
<SettingsList.ItemIcon icon={NewspaperIcon} />
|
||||||
<SettingsList.ItemText>
|
<SettingsList.ItemText>
|
||||||
<Trans>Privacy Policy</Trans>
|
|
||||||
</SettingsList.ItemText>
|
|
||||||
</SettingsList.LinkItem>
|
|
||||||
+ <SettingsList.LinkItem
|
|
||||||
+ to="/about/support/license"
|
|
||||||
+ label={_(msg`License`)}>
|
|
||||||
+ <SettingsList.ItemIcon icon={NewspaperIcon} />
|
|
||||||
+ <SettingsList.ItemText>
|
|
||||||
+ <Trans>License</Trans>
|
|
||||||
+ </SettingsList.ItemText>
|
|
||||||
+ </SettingsList.LinkItem>
|
|
||||||
<SettingsList.LinkItem
|
|
||||||
to={STATUS_PAGE_URL}
|
|
||||||
label={_(msg`Status Page`)}>
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
- `005-social-app-ios-screens.patch` - Settings, Home, Privacy, TOS 画面の変更
|
- `005-social-app-ios-screens.patch` - Settings, Home, Privacy, TOS 画面の変更
|
||||||
- `006-social-app-ios-shell.patch` - Drawer, BottomBar, RightNav, ServerInput などシェル変更
|
- `006-social-app-ios-shell.patch` - Drawer, BottomBar, RightNav, ServerInput などシェル変更
|
||||||
- `007-social-app-ios-misc.patch` - notifications, ageAssurance, PolicyUpdate などその他変更
|
- `007-social-app-ios-misc.patch` - notifications, ageAssurance, PolicyUpdate などその他変更
|
||||||
- `008-social-app-ios-policy-tos-error.patch` - プライバシーポリシー・利用規約の英語/日本語二言語化、DIDエラー処理
|
- `008-social-app-ios-policy-tos-error.patch` - プライバシーポリシー・利用規約をネイティブコンポーネントで表示(WebView から ScrollView + Text へ変更)
|
||||||
- `009-social-app-ios-license.patch` - ライセンスページの追加(Drawer, Navigation, routes, types)
|
- `009-social-app-ios-license.patch` - ライセンスページの追加(Drawer, Navigation, routes, types)
|
||||||
- `010-social-app-ios-remove-contact-support.patch` - アカウント作成時の「Contact support」リンクを削除
|
- `010-social-app-ios-remove-contact-support.patch` - アカウント作成時の「Contact support」リンクを削除
|
||||||
- `011-social-app-ios-splash-license-footer.patch` - スプラッシュ画面の「What's up?」削除、© syui フッター追加
|
- `011-social-app-ios-splash-license-footer.patch` - スプラッシュ画面の「What's up?」削除、© syui フッター追加
|
||||||
|
|||||||
Reference in New Issue
Block a user