diff options
Diffstat (limited to 'src/screens/Signup')
-rw-r--r-- | src/screens/Signup/StepInfo/Policies.tsx | 10 | ||||
-rw-r--r-- | src/screens/Signup/StepInfo/index.tsx | 20 | ||||
-rw-r--r-- | src/screens/Signup/index.tsx | 6 |
3 files changed, 18 insertions, 18 deletions
diff --git a/src/screens/Signup/StepInfo/Policies.tsx b/src/screens/Signup/StepInfo/Policies.tsx index 4879ae7b3..f25bda274 100644 --- a/src/screens/Signup/StepInfo/Policies.tsx +++ b/src/screens/Signup/StepInfo/Policies.tsx @@ -6,7 +6,7 @@ import {useLingui} from '@lingui/react' import {atoms as a, useTheme} from '#/alf' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' -import {InlineLink} from '#/components/Link' +import {InlineLinkText} from '#/components/Link' import {Text} from '#/components/Typography' export const Policies = ({ @@ -45,16 +45,16 @@ export const Policies = ({ const els = [] if (tos) { els.push( - <InlineLink key="tos" to={tos}> + <InlineLinkText key="tos" to={tos}> {_(msg`Terms of Service`)} - </InlineLink>, + </InlineLinkText>, ) } if (pp) { els.push( - <InlineLink key="pp" to={pp}> + <InlineLinkText key="pp" to={pp}> {_(msg`Privacy Policy`)} - </InlineLink>, + </InlineLinkText>, ) } if (els.length === 2) { diff --git a/src/screens/Signup/StepInfo/index.tsx b/src/screens/Signup/StepInfo/index.tsx index 136592a0b..d22d1323a 100644 --- a/src/screens/Signup/StepInfo/index.tsx +++ b/src/screens/Signup/StepInfo/index.tsx @@ -36,9 +36,9 @@ export function StepInfo() { <View style={[a.gap_md]}> <FormError error={state.error} /> <View> - <TextField.Label> + <TextField.LabelText> <Trans>Hosting provider</Trans> - </TextField.Label> + </TextField.LabelText> <HostingProvider serviceUrl={state.serviceUrl} onSelectServiceUrl={v => @@ -54,9 +54,9 @@ export function StepInfo() { <> {state.serviceDescription.inviteCodeRequired && ( <View> - <TextField.Label> + <TextField.LabelText> <Trans>Invite code</Trans> - </TextField.Label> + </TextField.LabelText> <TextField.Root> <TextField.Icon icon={Ticket} /> <TextField.Input @@ -76,9 +76,9 @@ export function StepInfo() { </View> )} <View> - <TextField.Label> + <TextField.LabelText> <Trans>Email</Trans> - </TextField.Label> + </TextField.LabelText> <TextField.Root> <TextField.Icon icon={Envelope} /> <TextField.Input @@ -97,9 +97,9 @@ export function StepInfo() { </TextField.Root> </View> <View> - <TextField.Label> + <TextField.LabelText> <Trans>Password</Trans> - </TextField.Label> + </TextField.LabelText> <TextField.Root> <TextField.Icon icon={Lock} /> <TextField.Input @@ -117,9 +117,9 @@ export function StepInfo() { </TextField.Root> </View> <View> - <DateField.Label> + <DateField.LabelText> <Trans>Your birth date</Trans> - </DateField.Label> + </DateField.LabelText> <DateField.DateField testID="date" value={DateField.utils.toSimpleDateString(state.dateOfBirth)} diff --git a/src/screens/Signup/index.tsx b/src/screens/Signup/index.tsx index a085fe44c..74674b0cb 100644 --- a/src/screens/Signup/index.tsx +++ b/src/screens/Signup/index.tsx @@ -24,7 +24,7 @@ import {StepInfo} from '#/screens/Signup/StepInfo' import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import {Divider} from '#/components/Divider' -import {InlineLink} from '#/components/Link' +import {InlineLinkText} from '#/components/Link' import {Text} from '#/components/Typography' export function Signup({onPressBack}: {onPressBack: () => void}) { @@ -215,9 +215,9 @@ export function Signup({onPressBack}: {onPressBack: () => void}) { <View style={[a.w_full, a.py_lg]}> <Text style={[t.atoms.text_contrast_medium]}> <Trans>Having trouble?</Trans>{' '} - <InlineLink to={FEEDBACK_FORM_URL({email: state.email})}> + <InlineLinkText to={FEEDBACK_FORM_URL({email: state.email})}> <Trans>Contact support</Trans> - </InlineLink> + </InlineLinkText> </Text> </View> </View> |