Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at c540dae4e7db67031ee5f67feb076927999e364d 50 lines 1.6 kB view raw
1import React from 'react' 2import {View} from 'react-native' 3import {msg, Trans} from '@lingui/macro' 4import {useLingui} from '@lingui/react' 5import {useFocusEffect} from '@react-navigation/native' 6 7import {usePalette} from '#/lib/hooks/usePalette' 8import { 9 type CommonNavigatorParams, 10 type NativeStackScreenProps, 11} from '#/lib/routes/types' 12import {s} from '#/lib/styles' 13import {useSetMinimalShellMode} from '#/state/shell' 14import {TextLink} from '#/view/com/util/Link' 15import {Text} from '#/view/com/util/text/Text' 16import {ScrollView} from '#/view/com/util/Views' 17import * as Layout from '#/components/Layout' 18import {ViewHeader} from '../com/util/ViewHeader' 19 20type Props = NativeStackScreenProps<CommonNavigatorParams, 'TermsOfService'> 21export const TermsOfServiceScreen = (_props: Props) => { 22 const pal = usePalette('default') 23 const setMinimalShellMode = useSetMinimalShellMode() 24 const {_} = useLingui() 25 26 useFocusEffect( 27 React.useCallback(() => { 28 setMinimalShellMode(false) 29 }, [setMinimalShellMode]), 30 ) 31 32 return ( 33 <Layout.Screen> 34 <ViewHeader title={_(msg`Terms of Service`)} /> 35 <ScrollView style={[s.hContentRegion, pal.view]}> 36 <View style={[s.p20]}> 37 <Text style={pal.text}> 38 <Trans>The Terms of Service have been moved to</Trans>{' '} 39 <TextLink 40 style={pal.link} 41 href="https://bsky.social/about/support/tos" 42 text="bsky.social/about/support/tos" 43 /> 44 </Text> 45 </View> 46 <View style={s.footerSpacer} /> 47 </ScrollView> 48 </Layout.Screen> 49 ) 50}