Skip to content
Snippets Groups Projects
Commit b00b97d4 authored by emelko's avatar emelko
Browse files

Add secureTextEntry to password AppTextInput

parent 748b5bcb
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ export default class ConfirmWithPassword extends Component {
onChangeText={this.handlePasswordInput}
placeholder={labels.enterCurrent}
value={password}
secureTextEntry={true}
/>
<View style={styles.container}>
<Button onPress={this.props.onCancel}>
......
......@@ -69,12 +69,14 @@ export default class EnterNewPassword extends Component {
placeholder={labels.enterNew}
textContentType="password"
value={password}
secureTextEntry={true}
/>
<AppTextInput
onChangeText={this.handleConfirmationInput}
placeholder={labels.confirmPassword}
textContentType="password"
value={passwordConfirmation}
secureTextEntry={true}
/>
{shouldShowErrorMessage &&
<AppText style={styles.error}>{labels.passwordsDontMatch}</AppText>
......
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