Mask password input

This commit is contained in:
Julia Friesel
2018-09-14 12:19:22 +02:00
parent 3dbc26f50a
commit 01a1fa4385
3 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -106,5 +106,6 @@ export const bleedingPrediction = {
}
export const passwordPrompt = {
title: 'Log in'
title: 'Log in',
enterPassword: 'Enter password here'
}
+2
View File
@@ -61,6 +61,8 @@ export default class PasswordPrompt extends Component {
<TextInput
onChangeText={val => this.setState({ password: val })}
style={styles.passwordField}
secureTextEntry={true}
placeholder={passwordPrompt.enterPassword}
/>
<TouchableOpacity
style={styles.settingsButton}
+1
View File
@@ -85,6 +85,7 @@ export default class PasswordSetting extends Component {
}}
value={this.state.currentPassword}
placeholder={labels.passwordSettings.enterCurrent}
secureTextEntry={true}
/>
</View>
}