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

Mask password input

parent 3dbc26f5
No related branches found
No related tags found
No related merge requests found
......@@ -106,5 +106,6 @@ export const bleedingPrediction = {
}
export const passwordPrompt = {
title: 'Log in'
title: 'Log in',
enterPassword: 'Enter password here'
}
\ No newline at end of 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}
......
......@@ -85,6 +85,7 @@ export default class PasswordSetting extends Component {
}}
value={this.state.currentPassword}
placeholder={labels.passwordSettings.enterCurrent}
secureTextEntry={true}
/>
</View>
}
......
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