From cd22ab834dd58f6027b28b45ba435a20559f9de7 Mon Sep 17 00:00:00 2001 From: Adrian Tiberius Date: Tue, 5 Jul 2016 21:29:58 +0300 Subject: [PATCH] updated login button design --- src/status_im/login/screen.cljs | 2 +- src/status_im/login/styles.cljs | 14 +++++++------- src/status_im/translations/en.cljs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/status_im/login/screen.cljs b/src/status_im/login/screen.cljs index c9de6ac25a..8f46d32741 100644 --- a/src/status_im/login/screen.cljs +++ b/src/status_im/login/screen.cljs @@ -77,7 +77,7 @@ [view st/recover-text-container [touchable-highlight {:on-press #()} - [text {:style st/recover-text} (label :t/recover-from-passphrase)]]] + [text {:style st/recover-text} (label :t/recover-access)]]] [view st/connect-button-container [touchable-highlight {:on-press #(dispatch [:login-account address password])} diff --git a/src/status_im/login/styles.cljs b/src/status_im/login/styles.cljs index 8278790c11..37278d33cb 100644 --- a/src/status_im/login/styles.cljs +++ b/src/status_im/login/styles.cljs @@ -26,25 +26,25 @@ {:position :absolute :left 0 :right 0 - :bottom 16}) + :bottom 0}) (def recover-text-container {:flex 1 - :flexWrap :nowrap + :alignItems :center :padding 16}) (def recover-text {:flex 1 - :color color-white}) + :color color-white + :fontSize 16}) (def connect-button-container - {:position :absolute - :right 16 - :top 0}) + {:flex 1}) (def connect-button {:backgroundColor color-white - :borderRadius 55 + :flex 1 + :alignItems :center :paddingVertical 16 :paddingHorizontal 28 }) diff --git a/src/status_im/translations/en.cljs b/src/status_im/translations/en.cljs index c667275426..05fa0ab1ac 100644 --- a/src/status_im/translations/en.cljs +++ b/src/status_im/translations/en.cljs @@ -127,7 +127,7 @@ :address-explication "Maybe here should be some text explaining what an address is and where to look for it" ;login - :recover-from-passphrase "Recover from passphrase" + :recover-access "Recover access" :connect "Connect" :address "Address" :password "Password"