From 5996f1c3bf2aab1c4806da8e2746bdfd45bc8842 Mon Sep 17 00:00:00 2001 From: Andre Luis Anastacio Date: Wed, 5 Apr 2017 07:15:33 -0300 Subject: [PATCH] Bug/keyboard upcase #904 (#968) * accounts, recover, screen: Android Fix keyboard with upcase * transactions, screen: Android Fix keyboard with upcase --- src/status_im/accounts/recover/screen.cljs | 19 ++++++++++--------- src/status_im/transactions/screen.cljs | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/status_im/accounts/recover/screen.cljs b/src/status_im/accounts/recover/screen.cljs index b679a32ff4..e4982cce72 100644 --- a/src/status_im/accounts/recover/screen.cljs +++ b/src/status_im/accounts/recover/screen.cljs @@ -39,15 +39,16 @@ (label :t/enter-valid-passphrase))] [view [text-field - {:value passphrase - :error error - :error-color color-blue - :label (label :t/passphrase) - :label-color color-gray - :line-color separator-color - :input-style st/input-style - :wrapper-style (merge button-input st/address-input-wrapper) - :on-change-text #(dispatch [:set-in [:recover :passphrase] %])}]])) + {:value passphrase + :error error + :error-color color-blue + :label (label :t/passphrase) + :label-color color-gray + :line-color separator-color + :input-style st/input-style + :auto-capitalize :none + :wrapper-style (merge button-input st/address-input-wrapper) + :on-change-text #(dispatch [:set-in [:recover :passphrase] %])}]])) (defview password-input [password] [error [:get-in [:recover :password-error]]] diff --git a/src/status_im/transactions/screen.cljs b/src/status_im/transactions/screen.cljs index 4ca0103404..29356384b4 100644 --- a/src/status_im/transactions/screen.cljs +++ b/src/status_im/transactions/screen.cljs @@ -57,5 +57,6 @@ :secure-text-entry true :label-color :#ffffff80 :line-color :white + :auto-capitalize :none :input-style st/password-style :on-change-text #(dispatch [:set-in [:confirm-transactions :password] %])}]]])