From 01a1fa4385f028fbfa787a336defe1dbd83d7af7 Mon Sep 17 00:00:00 2001 From: Julia Friesel Date: Fri, 14 Sep 2018 12:19:22 +0200 Subject: [PATCH] Mask password input --- components/labels.js | 3 ++- components/password-prompt.js | 2 ++ components/settings/password-setting.js | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/labels.js b/components/labels.js index 5f405fc..8c5d427 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 dd43489..85bed6b 100644 --- a/components/password-prompt.js +++ b/components/password-prompt.js @@ -61,6 +61,8 @@ export default class PasswordPrompt extends Component { this.setState({ password: val })} style={styles.passwordField} + secureTextEntry={true} + placeholder={passwordPrompt.enterPassword} /> }