move forgot password button

This commit is contained in:
Samuel Newman
2025-07-15 15:22:48 +03:00
parent 0908b0b65d
commit 9bcb948c8d
@@ -233,24 +233,21 @@ export function SignInForm({
editable={!isProcessing} editable={!isProcessing}
accessibilityHint={_(msg`Enter your password`)} accessibilityHint={_(msg`Enter your password`)}
/> />
</TextField.Root>
</View>
<View style={[a.flex_row]}>
<Button <Button
testID="forgotPasswordButton" testID="forgotPasswordButton"
onPress={onPressForgotPassword} onPress={onPressForgotPassword}
label={_(msg`Forgot password?`)} label={_(msg`Forgot password?`)}
accessibilityHint={_(msg`Opens password reset form`)} accessibilityHint={_(msg`Opens password reset form`)}
variant="solid" variant="ghost"
color="secondary" color="secondary">
style={[
a.rounded_sm,
// t.atoms.bg_contrast_100,
{marginLeft: 'auto', left: 6, padding: 6},
a.z_10,
]}>
<ButtonText> <ButtonText>
<Trans>Forgot?</Trans> <Trans>Forgot password?</Trans>
</ButtonText> </ButtonText>
</Button> </Button>
</TextField.Root>
</View> </View>
{isAuthFactorTokenNeeded && ( {isAuthFactorTokenNeeded && (