From 8e8f6fcf6cd61753d080a22b02e928eaca9456ed Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Fri, 14 Sep 2018 19:03:18 +0200 Subject: [PATCH] Autofocus new password field --- components/settings/password-setting.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/settings/password-setting.js b/components/settings/password-setting.js index f8336ecb..b9170e77 100644 --- a/components/settings/password-setting.js +++ b/components/settings/password-setting.js @@ -59,6 +59,7 @@ export default class PasswordSetting extends Component { <View> <TextInput style={styles.passwordField} + autoFocus={true} onChangeText={val => { this.setState({ changedPassword: val @@ -102,6 +103,7 @@ export default class PasswordSetting extends Component { <View> <TextInput style={styles.passwordField} + autoFocus={true} onChangeText={val => { this.setState({ newPassword: val -- GitLab