Mask password input
This commit is contained in:
@@ -106,5 +106,6 @@ export const bleedingPrediction = {
|
||||
}
|
||||
|
||||
export const passwordPrompt = {
|
||||
title: 'Log in'
|
||||
title: 'Log in',
|
||||
enterPassword: 'Enter password here'
|
||||
}
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user