diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-19 21:58:53 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-19 21:58:53 +0000 |
commit | 2428d22368a96450f9a99b79a7e689a57e899a48 (patch) | |
tree | 616c971d0e37a09db02c2705694654f69825e7b5 /src/screens | |
parent | 8556016a69642477e497fb7d695521b01945febc (diff) | |
download | voidsky-2428d22368a96450f9a99b79a7e689a57e899a48.tar.zst |
change hosting provider and forgot pw touchables to button
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/Login/LoginForm.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/screens/Login/LoginForm.tsx b/src/screens/Login/LoginForm.tsx index e9620db5c..8c9ef3e27 100644 --- a/src/screens/Login/LoginForm.tsx +++ b/src/screens/Login/LoginForm.tsx @@ -4,7 +4,6 @@ import { Keyboard, LayoutAnimation, TextInput, - TouchableOpacity, View, } from 'react-native' import {ComAtprotoServerDescribeServer} from '@atproto/api' @@ -193,22 +192,23 @@ export const LoginForm = ({ : _(msg`Input the password tied to ${identifier}`) } /> - <TouchableOpacity + <Button testID="forgotPasswordButton" onPress={onPressForgotPassword} - accessibilityRole="button" - accessibilityLabel={_(msg`Forgot password`)} + label={_(msg`Forgot password?`)} accessibilityHint={_(msg`Opens password reset form`)} + variant="solid" + color="secondary" style={[ a.rounded_sm, t.atoms.bg_contrast_100, {marginLeft: 'auto', left: 6, padding: 6}, a.z_10, ]}> - <ButtonText style={t.atoms.text_contrast_medium}> + <ButtonText> <Trans>Forgot?</Trans> </ButtonText> - </TouchableOpacity> + </Button> </TextField.Root> </View> <FormError error={error} /> |