diff --git a/app/containers/TwoFactor/index.tsx b/app/containers/TwoFactor/index.tsx index 3fc57e038b..785df41849 100644 --- a/app/containers/TwoFactor/index.tsx +++ b/app/containers/TwoFactor/index.tsx @@ -126,12 +126,7 @@ const TwoFactor = React.memo(() => { const color = colors.fontTitlesLabels; return ( - } + customBackdrop={} avoidKeyboard useNativeDriver isVisible={visible} @@ -143,27 +138,24 @@ const TwoFactor = React.memo(() => { isMasterDetail && [sharedStyles.modalFormSheet, styles.tablet], { backgroundColor: colors.surfaceTint } ]}> - - {I18n.t(method?.title || 'Two_Factor_Authentication')} - {method?.text ? {I18n.t(method.text)} : null} - InteractionManager.runAfterInteractions(() => e?.getNativeRef()?.focus())} - returnKeyType='send' - autoCapitalize='none' - onChangeText={setCode} - onSubmitEditing={onSubmit} - keyboardType={method?.keyboardType} - secureTextEntry={method?.secureTextEntry} - error={data.invalid ? { error: 'totp-invalid', reason: I18n.t('Code_or_password_invalid') } : undefined} - testID='two-factor-input' - containerStyle={{ marginBottom: 36 }} - /> - + {I18n.t(method?.title || 'Two_Factor_Authentication')} + {method?.text ? {I18n.t(method.text)} : null} + InteractionManager.runAfterInteractions(() => e?.getNativeRef()?.focus())} + onChangeText={setCode} + onSubmitEditing={onSubmit} + keyboardType={method?.keyboardType} + secureTextEntry={method?.secureTextEntry} + error={data.invalid ? { error: 'totp-invalid', reason: I18n.t('Code_or_password_invalid') } : undefined} + containerStyle={styles.containerInput} + /> {isEmail ? (