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 {CommonNavigatorParams, 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 * 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]), ) return ( The Terms of Service have been moved to{' '} ) }