From 06c8498568a1ca609db0ddc0d25ff3a6c59a67fe Mon Sep 17 00:00:00 2001 From: Gustavo Nunes Date: Fri, 20 Jan 2017 17:33:51 -0200 Subject: [PATCH] accounts: recover password no longer appears as clear text #732 --- src/status_im/accounts/recover/screen.cljs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/status_im/accounts/recover/screen.cljs b/src/status_im/accounts/recover/screen.cljs index 47986bd191..7009255286 100644 --- a/src/status_im/accounts/recover/screen.cljs +++ b/src/status_im/accounts/recover/screen.cljs @@ -56,14 +56,15 @@ (label :t/enter-valid-password))] [view [text-field - {:value password - :error error - :error-color "#7099e6" - :label (label :t/password) - :label-color "#838c93de" - :line-color "#0000001f" - :input-style st/input-style - :on-change-text #(dispatch [:set-in [:recover :password] %])}]])) + {:value password + :secure-text-entry true + :error error + :error-color "#7099e6" + :label (label :t/password) + :label-color "#838c93de" + :line-color "#0000001f" + :input-style st/input-style + :on-change-text #(dispatch [:set-in [:recover :password] %])}]])) (defview recover [] [{:keys [passphrase password passphrase-error password-error]} [:get :recover]]