Mobile: Resolves #14603: Password and confirm password fields when enabling encryption auto capitalise first character (#14611)

This commit is contained in:
Ash092016
2026-03-12 23:43:06 +05:30
committed by GitHub
parent 8d168dc330
commit e1dc36c0a5

View File

@@ -112,6 +112,10 @@ const EncryptionConfigScreen = (props: Props) => {
selectionColor={theme.textSelectionColor}
keyboardAppearance={theme.keyboardAppearance}
secureTextEntry={true}
autoCapitalize='none'
autoCorrect={false}
textContentType='newPassword'
importantForAutofill='yes'
value={password}
onChangeText={(text: string) => onInputPasswordChange(mk, text)}
style={inputStyle}
@@ -180,6 +184,10 @@ const EncryptionConfigScreen = (props: Props) => {
keyboardAppearance={theme.keyboardAppearance}
style={styles.normalTextInput}
secureTextEntry={true}
autoCapitalize='none'
autoCorrect={false}
textContentType='password'
importantForAutofill='yes'
value={passwordPromptAnswer}
onChangeText={(text: string) => {
setPasswordPromptAnswer(text);
@@ -193,6 +201,10 @@ const EncryptionConfigScreen = (props: Props) => {
keyboardAppearance={theme.keyboardAppearance}
style={styles.normalTextInput}
secureTextEntry={true}
autoCapitalize='none'
autoCorrect={false}
textContentType='newPassword'
importantForAutofill='yes'
value={passwordPromptConfirmAnswer}
onChangeText={(text: string) => {
setPasswordPromptConfirmAnswer(text);
@@ -249,6 +261,10 @@ const EncryptionConfigScreen = (props: Props) => {
selectionColor={theme.textSelectionColor}
keyboardAppearance={theme.keyboardAppearance}
secureTextEntry={true}
autoCapitalize='none'
autoCorrect={false}
textContentType='password'
importantForAutofill='yes'
value={inputMasterPassword}
onChangeText={(text: string) => onMasterPasswordChange(text)}
style={inputStyle}