From bc2bf20e0803b88113ed89249d9481b40fe14dd6 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 12 Jun 2023 17:25:52 -0500 Subject: [PATCH] Update info screen titles to use H1 --- src/view/screens/CommunityGuidelines.tsx | 6 +++--- src/view/screens/CopyrightPolicy.tsx | 6 +++--- src/view/screens/PrivacyPolicy.tsx | 6 +++--- src/view/screens/TermsOfService.tsx | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/view/screens/CommunityGuidelines.tsx b/src/view/screens/CommunityGuidelines.tsx index 5d00786d..f82dfef4 100644 --- a/src/view/screens/CommunityGuidelines.tsx +++ b/src/view/screens/CommunityGuidelines.tsx @@ -1,11 +1,11 @@ import React from 'react' import {View} from 'react-native' import {useFocusEffect} from '@react-navigation/native' +import {H1} from '@expo/html-elements' 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' @@ -29,9 +29,9 @@ export const CommunityGuidelinesScreen = (_props: Props) => { - +

Community Guidelines - +

diff --git a/src/view/screens/CopyrightPolicy.tsx b/src/view/screens/CopyrightPolicy.tsx index 756a79c0..8c478cbc 100644 --- a/src/view/screens/CopyrightPolicy.tsx +++ b/src/view/screens/CopyrightPolicy.tsx @@ -1,11 +1,11 @@ import React from 'react' import {View} from 'react-native' import {useFocusEffect} from '@react-navigation/native' +import {H1} from '@expo/html-elements' 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/copyright-policy' @@ -26,9 +26,9 @@ export const CopyrightPolicyScreen = (_props: Props) => { - +

Copyright Policy - +

diff --git a/src/view/screens/PrivacyPolicy.tsx b/src/view/screens/PrivacyPolicy.tsx index ec39ac2d..7e184251 100644 --- a/src/view/screens/PrivacyPolicy.tsx +++ b/src/view/screens/PrivacyPolicy.tsx @@ -1,11 +1,11 @@ import React from 'react' import {View} from 'react-native' import {useFocusEffect} from '@react-navigation/native' +import {H1} from '@expo/html-elements' 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 PrivacyPolicyHtml from '../../locale/en/privacy-policy' @@ -26,9 +26,9 @@ export const PrivacyPolicyScreen = (_props: Props) => { - +

Privacy Policy - +

diff --git a/src/view/screens/TermsOfService.tsx b/src/view/screens/TermsOfService.tsx index 804200e0..e079b03d 100644 --- a/src/view/screens/TermsOfService.tsx +++ b/src/view/screens/TermsOfService.tsx @@ -5,10 +5,10 @@ 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/terms-of-service' +import {H1} from '@expo/html-elements' type Props = NativeStackScreenProps export const TermsOfServiceScreen = (_props: Props) => { @@ -26,9 +26,9 @@ export const TermsOfServiceScreen = (_props: Props) => { - +

Terms of Service - +