diff options
Diffstat (limited to 'src/screens/Onboarding/StepModeration')
-rw-r--r-- | src/screens/Onboarding/StepModeration/AdultContentEnabledPref.tsx | 8 | ||||
-rw-r--r-- | src/screens/Onboarding/StepModeration/index.tsx | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/screens/Onboarding/StepModeration/AdultContentEnabledPref.tsx b/src/screens/Onboarding/StepModeration/AdultContentEnabledPref.tsx index 9e59c1db6..7563bece1 100644 --- a/src/screens/Onboarding/StepModeration/AdultContentEnabledPref.tsx +++ b/src/screens/Onboarding/StepModeration/AdultContentEnabledPref.tsx @@ -113,15 +113,15 @@ export function AdultContentEnabledPref({ )} <Prompt.Outer control={prompt}> - <Prompt.Title> + <Prompt.TitleText> <Trans>Adult Content</Trans> - </Prompt.Title> - <Prompt.Description> + </Prompt.TitleText> + <Prompt.DescriptionText> <Trans> Due to Apple policies, adult content can only be enabled on the web after completing sign up. </Trans> - </Prompt.Description> + </Prompt.DescriptionText> <Prompt.Actions> <Prompt.Action onPress={() => prompt.close()} cta={_(msg`OK`)} /> </Prompt.Actions> diff --git a/src/screens/Onboarding/StepModeration/index.tsx b/src/screens/Onboarding/StepModeration/index.tsx index c5bdf5622..d494f48dd 100644 --- a/src/screens/Onboarding/StepModeration/index.tsx +++ b/src/screens/Onboarding/StepModeration/index.tsx @@ -9,9 +9,9 @@ import {logEvent} from '#/lib/statsig/statsig' import {usePreferencesQuery} from '#/state/queries/preferences' import {usePreferencesSetAdultContentMutation} from 'state/queries/preferences' import { - Description, + DescriptionText, OnboardingControls, - Title, + TitleText, } from '#/screens/Onboarding/Layout' import {Context} from '#/screens/Onboarding/state' import {AdultContentEnabledPref} from '#/screens/Onboarding/StepModeration/AdultContentEnabledPref' @@ -56,14 +56,14 @@ export function StepModeration() { <View style={[a.align_start]}> <IconCircle icon={EyeSlash} style={[a.mb_2xl]} /> - <Title> + <TitleText> <Trans>You're in control</Trans> - </Title> - <Description style={[a.mb_xl]}> + </TitleText> + <DescriptionText style={[a.mb_xl]}> <Trans> Select what you want to see (or not see), and we’ll handle the rest. </Trans> - </Description> + </DescriptionText> {!preferences ? ( <View style={[a.pt_md]}> |