Add secureTextEntry to password AppTextInput

This commit is contained in:
emelko committed 2020-12-20 13:06:53 +01:00
1 parent 748b5bcbd1
commit b00b97d411
2 files changed
+3

No files matched your search

@@ -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>