From 2f519bd66e7f0eeb374dfcd59043ad020196140e Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 6 Apr 2023 22:53:58 -0500 Subject: Add tos, community guidelines, and copyright policy (#410) * Add tos, community guidelines, and copyright policy * Fix lint --- src/view/screens/CommunityGuidelines.tsx | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/view/screens/CommunityGuidelines.tsx (limited to 'src/view/screens/CommunityGuidelines.tsx') diff --git a/src/view/screens/CommunityGuidelines.tsx b/src/view/screens/CommunityGuidelines.tsx new file mode 100644 index 000000000..5d00786da --- /dev/null +++ b/src/view/screens/CommunityGuidelines.tsx @@ -0,0 +1,41 @@ +import React from 'react' +import {View} from 'react-native' +import {useFocusEffect} from '@react-navigation/native' +import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types' +import {ViewHeader} from '../com/util/ViewHeader' +import {useStores} from 'state/index' +import {ScrollView} from 'view/com/util/Views' +import {Text} from 'view/com/util/text/Text' +import {usePalette} from 'lib/hooks/usePalette' +import {s} from 'lib/styles' +import Html from '../../locale/en/community-guidelines' + +type Props = NativeStackScreenProps< + CommonNavigatorParams, + 'CommunityGuidelines' +> +export const CommunityGuidelinesScreen = (_props: Props) => { + const pal = usePalette('default') + const store = useStores() + + useFocusEffect( + React.useCallback(() => { + store.shell.setMinimalShellMode(false) + }, [store]), + ) + + return ( + + + + + + Community Guidelines + + + + + + + ) +} -- cgit 1.4.1