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 session-alignment 49 lines 1.6 kB view raw
1import React from 'react' 2import {View} from 'react-native' 3import {useFocusEffect} from '@react-navigation/native' 4import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types' 5import {ViewHeader} from '../com/util/ViewHeader' 6import {Text} from 'view/com/util/text/Text' 7import {TextLink} from 'view/com/util/Link' 8import {CenteredView} from 'view/com/util/Views' 9import {usePalette} from 'lib/hooks/usePalette' 10import {s} from 'lib/styles' 11import {HELP_DESK_URL} from 'lib/constants' 12import {useSetMinimalShellMode} from '#/state/shell' 13import {Trans, msg} from '@lingui/macro' 14import {useLingui} from '@lingui/react' 15 16type Props = NativeStackScreenProps<CommonNavigatorParams, 'Support'> 17export const SupportScreen = (_props: Props) => { 18 const pal = usePalette('default') 19 const setMinimalShellMode = useSetMinimalShellMode() 20 const {_} = useLingui() 21 22 useFocusEffect( 23 React.useCallback(() => { 24 setMinimalShellMode(false) 25 }, [setMinimalShellMode]), 26 ) 27 28 return ( 29 <View> 30 <ViewHeader title={_(msg`Support`)} /> 31 <CenteredView> 32 <Text type="title-xl" style={[pal.text, s.p20, s.pb5]}> 33 <Trans>Support</Trans> 34 </Text> 35 <Text style={[pal.text, s.p20]}> 36 <Trans> 37 The support form has been moved. If you need help, please{' '} 38 <TextLink 39 href={HELP_DESK_URL} 40 text={_(msg`click here`)} 41 style={pal.link} 42 />{' '} 43 or visit {HELP_DESK_URL} to get in touch with us. 44 </Trans> 45 </Text> 46 </CenteredView> 47 </View> 48 ) 49}