updated login button design

Former-commit-id: cd22ab834d
This commit is contained in:
Adrian Tiberius 2016-07-05 21:29:58 +03:00
parent 04f4945aaf
commit e5ff4da7db
3 changed files with 9 additions and 9 deletions

View File

@ -77,7 +77,7 @@
[view st/recover-text-container [view st/recover-text-container
[touchable-highlight [touchable-highlight
{:on-press #()} {: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 [view st/connect-button-container
[touchable-highlight [touchable-highlight
{:on-press #(dispatch [:login-account address password])} {:on-press #(dispatch [:login-account address password])}

View File

@ -26,25 +26,25 @@
{:position :absolute {:position :absolute
:left 0 :left 0
:right 0 :right 0
:bottom 16}) :bottom 0})
(def recover-text-container (def recover-text-container
{:flex 1 {:flex 1
:flexWrap :nowrap :alignItems :center
:padding 16}) :padding 16})
(def recover-text (def recover-text
{:flex 1 {:flex 1
:color color-white}) :color color-white
:fontSize 16})
(def connect-button-container (def connect-button-container
{:position :absolute {:flex 1})
:right 16
:top 0})
(def connect-button (def connect-button
{:backgroundColor color-white {:backgroundColor color-white
:borderRadius 55 :flex 1
:alignItems :center
:paddingVertical 16 :paddingVertical 16
:paddingHorizontal 28 :paddingHorizontal 28
}) })

View File

@ -127,7 +127,7 @@
:address-explication "Maybe here should be some text explaining what an address is and where to look for it" :address-explication "Maybe here should be some text explaining what an address is and where to look for it"
;login ;login
:recover-from-passphrase "Recover from passphrase" :recover-access "Recover access"
:connect "Connect" :connect "Connect"
:address "Address" :address "Address"
:password "Password" :password "Password"