mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

at utm-source 49 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 {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' 9import {s} from '#/lib/styles' 10import {useSetMinimalShellMode} from '#/state/shell' 11import {TextLink} from '#/view/com/util/Link' 12import {Text} from '#/view/com/util/text/Text' 13import {ScrollView} from '#/view/com/util/Views' 14import * as Layout from '#/components/Layout' 15import {ViewHeader} from '../com/util/ViewHeader' 16 17type Props = NativeStackScreenProps<CommonNavigatorParams, 'CopyrightPolicy'> 18export const CopyrightPolicyScreen = (_props: Props) => { 19 const pal = usePalette('default') 20 const {_} = useLingui() 21 const setMinimalShellMode = useSetMinimalShellMode() 22 23 useFocusEffect( 24 React.useCallback(() => { 25 setMinimalShellMode(false) 26 }, [setMinimalShellMode]), 27 ) 28 29 return ( 30 <Layout.Screen> 31 <ViewHeader title={_(msg`Copyright Policy`)} /> 32 <ScrollView style={[s.hContentRegion, pal.view]}> 33 <View style={[s.p20]}> 34 <Text style={pal.text}> 35 <Trans> 36 The Copyright Policy has been moved to{' '} 37 <TextLink 38 style={pal.link} 39 href="https://bsky.social/about/support/copyright" 40 text="bsky.social/about/support/copyright" 41 /> 42 </Trans> 43 </Text> 44 </View> 45 <View style={s.footerSpacer} /> 46 </ScrollView> 47 </Layout.Screen> 48 ) 49}