Adds password confirmation on setting a new password on Settings screen

This commit is contained in:
Sofiya Tepikin
2018-12-04 22:52:49 +01:00
parent 9843fb0157
commit 2a7ffa4666
4 changed files with 116 additions and 29 deletions
@@ -6,7 +6,7 @@ export default function PasswordField(props) {
return (
<TextInput
style={styles.passwordField}
autoFocus={true}
autoFocus={props.autoFocus === false ? false : true}
secureTextEntry={true}
onChangeText={props.onChangeText}
value={props.value}