Skip to content
Snippets Groups Projects
Commit 8e8f6fcf authored by Julia Friesel's avatar Julia Friesel
Browse files

Autofocus new password field

parent 1c5c6a80
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ export default class PasswordSetting extends Component { ...@@ -59,6 +59,7 @@ export default class PasswordSetting extends Component {
<View> <View>
<TextInput <TextInput
style={styles.passwordField} style={styles.passwordField}
autoFocus={true}
onChangeText={val => { onChangeText={val => {
this.setState({ this.setState({
changedPassword: val changedPassword: val
...@@ -102,6 +103,7 @@ export default class PasswordSetting extends Component { ...@@ -102,6 +103,7 @@ export default class PasswordSetting extends Component {
<View> <View>
<TextInput <TextInput
style={styles.passwordField} style={styles.passwordField}
autoFocus={true}
onChangeText={val => { onChangeText={val => {
this.setState({ this.setState({
newPassword: val newPassword: val
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment