Skip to content

Commit

Permalink
Quick fix to ensure disable 2fa dialog adjusts to keyboard (#3658)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee authored Apr 23, 2024
1 parent 710e913 commit 30c2c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view/screens/Settings/DisableEmail2FADialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function DisableEmail2FADialog({
</TextField.LabelText>
<TextField.Root>
<TextField.Icon icon={Lock} />
<TextField.Input
<Dialog.Input
testID="confirmationCode"
label={_(msg`Confirmation code`)}
autoCapitalize="none"
Expand All @@ -153,6 +153,7 @@ export function DisableEmail2FADialog({
autoComplete="off"
value={confirmationCode}
onChangeText={setConfirmationCode}
onSubmitEditing={onConfirmDisable}
editable={!isProcessing}
/>
</TextField.Root>
Expand Down

0 comments on commit 30c2c05

Please sign in to comment.