diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx index a89eaadc4..d8fd51d68 100644 --- a/src/view/screens/PrivacyPolicy.tsx +++ b/src/view/screens/PrivacyPolicy.tsx @@ -1,52 +1,55 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' -import {useLingui} from '@lingui/react' -import {useFocusEffect} from '@react-navigation/native' - -import {usePalette} from '#/lib/hooks/usePalette' -import { - type CommonNavigatorParams, - type NativeStackScreenProps, -} from '#/lib/routes/types' -import {s} from '#/lib/styles' -import {useSetMinimalShellMode} from '#/state/shell' -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' +import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - -type Props = NativeStackScreenProps -export const PrivacyPolicyScreen = (_props: Props) => { - const pal = usePalette('default') - const {_} = useLingui() - const setMinimalShellMode = useSetMinimalShellMode() +import {useSetTitle} from '#/lib/hooks/useSetTitle' +import {atoms as a, useTheme} from '#/alf' +import {Text} from '#/components/Typography' - useFocusEffect( - React.useCallback(() => { - setMinimalShellMode(false) - }, [setMinimalShellMode]), - ) +export function PrivacyPolicyScreen() { + useSetTitle('Privacy Policy') + const t = useTheme() return ( - - - - - - The Privacy Policy has been moved to{' '} - - + + + + Privacy Policy + + + + + + プライバシーポリシー + + + 本プライバシーポリシーは、当サービスにおける個人情報の取り扱いについて説明するものです。 + + + 収集する情報 + + 当サービスでは、アカウント作成時に提供いただく情報(メールアドレス、ユーザー名等)、 + および利用時に自動的に収集される情報(アクセスログ等)を収集します。 + + + 情報の利用目的 + + 収集した情報は、サービスの提供、改善、セキュリティ維持のために利用します。 + + + 第三者への開示 + + 法令に基づく場合を除き、ユーザーの同意なく第三者に個人情報を開示することはありません。 + + + お問い合わせ + + プライバシーポリシーに関するお問い合わせは、https://syu.is までご連絡ください。 - - - + + ) } diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx index d843c713c..8d1d0d452 100644 --- a/src/view/screens/TermsOfService.tsx +++ b/src/view/screens/TermsOfService.tsx @@ -1,50 +1,61 @@ import React from 'react' -import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' -import {useLingui} from '@lingui/react' -import {useFocusEffect} from '@react-navigation/native' - -import {usePalette} from '#/lib/hooks/usePalette' -import { - type CommonNavigatorParams, - type NativeStackScreenProps, -} from '#/lib/routes/types' -import {s} from '#/lib/styles' -import {useSetMinimalShellMode} from '#/state/shell' -import {TextLink} from '#/view/com/util/Link' -import {Text} from '#/view/com/util/text/Text' -import {ScrollView} from '#/view/com/util/Views' +import { ScrollView } from 'react-native' import * as Layout from '#/components/Layout' -import {ViewHeader} from '../com/util/ViewHeader' - -type Props = NativeStackScreenProps -export const TermsOfServiceScreen = (_props: Props) => { - const pal = usePalette('default') - const setMinimalShellMode = useSetMinimalShellMode() - const {_} = useLingui() - - useFocusEffect( - React.useCallback(() => { - setMinimalShellMode(false) - }, [setMinimalShellMode]), - ) +import {useSetTitle} from '#/lib/hooks/useSetTitle' +import {atoms as a, useTheme} from '#/alf' +import {Text} from '#/components/Typography' + +export function TermsOfServiceScreen() { + useSetTitle('Terms of Service') + const t = useTheme() return ( - - - - - The Terms of Service have been moved to{' '} - + + + + Terms of Service + + + + + + 利用規約 + + + 本規約は、当サービスの利用条件を定めるものです。 + + + サービスの利用 + + ユーザーは、本規約に同意の上、当サービスを利用するものとします。 + 違法行為、他者への迷惑行為は禁止されています。 + + + アカウント + + ユーザーは、アカウント情報を適切に管理する責任を負います。 + 第三者による不正利用があった場合、速やかにご連絡ください。 + + + 免責事項 + + 当サービスは現状のまま提供され、可用性、正確性について保証するものではありません。 + + + 規約の変更 + + 本規約は、必要に応じて変更されることがあります。変更後の利用をもって、変更に同意したものとみなします。 + + + お問い合わせ + + 利用規約に関するお問い合わせは、https://syu.is までご連絡ください。 - - - + + ) }