Page MenuHomePhabricator

D12707.id42179.diff
No OneTemporary

D12707.id42179.diff

diff --git a/native/account/legacy-register-panel.react.js b/native/account/legacy-register-panel.react.js
--- a/native/account/legacy-register-panel.react.js
+++ b/native/account/legacy-register-panel.react.js
@@ -167,6 +167,7 @@
onChangeText={this.onChangePasswordInputText}
onKeyPress={onPasswordKeyPress}
placeholder="Password"
+ autoCapitalize="none"
secureTextEntry={true}
textContentType="password"
autoComplete="password-new"
@@ -185,6 +186,7 @@
}
onChangeText={this.onChangeConfirmPasswordInputText}
placeholder="Confirm password"
+ autoCapitalize="none"
autoComplete="password-new"
returnKeyType="go"
blurOnSubmit={false}
diff --git a/native/chat/settings/delete-thread.react.js b/native/chat/settings/delete-thread.react.js
--- a/native/chat/settings/delete-thread.react.js
+++ b/native/chat/settings/delete-thread.react.js
@@ -168,17 +168,6 @@
);
}
- passwordInputRef = (
- passwordInput: ?React.ElementRef<typeof BaseTextInput>,
- ) => {
- this.passwordInput = passwordInput;
- };
-
- focusPasswordInput = () => {
- invariant(this.passwordInput, 'passwordInput should be set');
- this.passwordInput.focus();
- };
-
dispatchDeleteThreadAction = () => {
void this.props.dispatchActionPromise(
deleteThreadActionTypes,
diff --git a/native/profile/edit-password.react.js b/native/profile/edit-password.react.js
--- a/native/profile/edit-password.react.js
+++ b/native/profile/edit-password.react.js
@@ -165,6 +165,7 @@
secureTextEntry={true}
textContentType="password"
autoComplete="password"
+ autoCapitalize="none"
autoFocus={true}
returnKeyType="next"
onSubmitEditing={this.focusNewPassword}
@@ -184,6 +185,7 @@
secureTextEntry={true}
textContentType="newPassword"
autoComplete="password-new"
+ autoCapitalize="none"
returnKeyType="next"
onSubmitEditing={this.focusConfirmPassword}
ref={this.newPasswordRef}
@@ -199,6 +201,7 @@
placeholderTextColor={panelForegroundTertiaryLabel}
secureTextEntry={true}
textContentType="newPassword"
+ autoCapitalize="none"
returnKeyType="go"
onSubmitEditing={this.submitPassword}
ref={this.confirmPasswordRef}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 11:59 AM (6 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2713172
Default Alt Text
D12707.id42179.diff (2 KB)

Event Timeline