diff --git a/components/labels.js b/components/labels.js index 5f405fc1cfd1ee3b5605686848e7f8451673dbc0..8c5d427b3f58d3b062962645a8a60c26d5450d43 100644 --- a/components/labels.js +++ b/components/labels.js @@ -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 diff --git a/components/password-prompt.js b/components/password-prompt.js index dd43489022442553e18ab3a630df38e030d442c7..85bed6bfb087e7c2f62c4413060461ff086da5ed 100644 --- a/components/password-prompt.js +++ b/components/password-prompt.js @@ -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} diff --git a/components/settings/password-setting.js b/components/settings/password-setting.js index 56859ac16b31d7a72b1d921d207ad2f3263c5823..9a9ff3db5876c60e194d46b210d9ebdfe02754e8 100644 --- a/components/settings/password-setting.js +++ b/components/settings/password-setting.js @@ -85,6 +85,7 @@ export default class PasswordSetting extends Component { }} value={this.state.currentPassword} placeholder={labels.passwordSettings.enterCurrent} + secureTextEntry={true} /> </View> }