Update PromptPasswordConfirmationModal.tsx

This commit is contained in:
Marcos Rodriguez Velez 2024-08-11 23:19:33 -04:00
parent b1e8182d27
commit 7f8bf8f5cf

View File

@ -307,7 +307,6 @@ const PromptPasswordConfirmationModal = forwardRef<PromptPasswordConfirmationMod
onChangeText={setPassword}
style={[styles.input, stylesHook.input]}
autoFocus
onSubmitEditing={handleSubmit} // Handle Enter key as OK
/>
</Animated.View>
{(modalType === MODAL_TYPES.CREATE_PASSWORD || modalType === MODAL_TYPES.CREATE_FAKE_STORAGE) && (
@ -320,7 +319,6 @@ const PromptPasswordConfirmationModal = forwardRef<PromptPasswordConfirmationMod
value={confirmPassword}
onChangeText={setConfirmPassword}
style={[styles.input, stylesHook.input]}
onSubmitEditing={handleSubmit} // Handle Enter key as OK
/>
</Animated.View>
)}