diff options
author | Paul Frazee <pfrazee@gmail.com> | 2025-04-08 18:16:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 18:16:04 -0700 |
commit | f3153b8acb06729d1a1479ea5cc884fef9d569d5 (patch) | |
tree | 59e718bb7a32fe9f3e7d1eeb2431d3a78abf286e /src/components/forms/HostingProvider.tsx | |
parent | a59fb91a991f2663778b6c17501b04ca3c9e2e26 (diff) | |
download | voidsky-f3153b8acb06729d1a1479ea5cc884fef9d569d5.tar.zst |
Release 1.100 (#8168)
* Tests fix * Move the hosting provider text in account creation into the inside of the button to improve translation handling (close #8166) * Pull latest translations * Revert the 'you are creating an account' change entirely; it doesnt work
Diffstat (limited to 'src/components/forms/HostingProvider.tsx')
-rw-r--r-- | src/components/forms/HostingProvider.tsx | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx index ca5660f87..2fb138d00 100644 --- a/src/components/forms/HostingProvider.tsx +++ b/src/components/forms/HostingProvider.tsx @@ -41,25 +41,27 @@ export function HostingProvider({ onSelect={onSelectServiceUrl} /> {minimal ? ( - <View style={[a.flex_row, a.align_center, a.flex_wrap]}> + <View style={[a.flex_row, a.align_center, a.flex_wrap, a.gap_xs]}> <Text style={[a.text_sm, t.atoms.text_contrast_medium]}> - <Trans> - You are creating an account on{' '} - <Button - label={toNiceDomain(serviceUrl)} - accessibilityHint={_(msg`Changes hosting provider`)} - onPress={onPressSelectService} - variant="ghost" - color="secondary" - size="tiny" - style={[a.px_xs, {margin: tokens.space.xs * -1}]}> - <ButtonText style={[a.text_sm]}> - {toNiceDomain(serviceUrl)} - </ButtonText> - <ButtonIcon icon={PencilIcon} /> - </Button> - </Trans> + <Trans>You are creating an account on</Trans> </Text> + <Button + label={toNiceDomain(serviceUrl)} + accessibilityHint={_(msg`Changes hosting provider`)} + onPress={onPressSelectService} + variant="ghost" + color="secondary" + size="tiny" + style={[ + a.px_xs, + {marginHorizontal: tokens.space.xs * -1}, + {paddingVertical: 0}, + ]}> + <ButtonText style={[a.text_sm]}> + {toNiceDomain(serviceUrl)} + </ButtonText> + <ButtonIcon icon={PencilIcon} /> + </Button> </View> ) : ( <Button |