Skip to content

Commit

Permalink
ui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryn committed Aug 8, 2019
1 parent f51c36b commit 8bc7d39
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions src/status_im/ui/screens/multiaccounts/recover/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
validate-passphrase (debounce
#(re-frame/dispatch [:multiaccounts.recover.ui/passphrase-input-blured])
500)]
[react/view {:flex 1
:justify-content :space-between
:background-color colors/white}
[react/keyboard-avoiding-view {:flex 1
:justify-content :space-between
:background-color colors/white}
[toolbar/toolbar
{:transparent? true
:style {:margin-top 32}}
Expand Down Expand Up @@ -178,7 +178,8 @@
:container {:background-color :white}
:style {:background-color :white
:text-align :center
:typography :header}}]]]
:font-size 16
:font-weight "700"}}]]]
(when processing?
[react/view
[react/activity-indicator {:size :large
Expand Down Expand Up @@ -316,9 +317,9 @@
validate-password (debounce
#(re-frame/dispatch [:multiaccounts.recover.ui/password-input-blured])
500)]
[react/view {:flex 1
:justify-content :space-between
:background-color colors/white}
[react/keyboard-avoiding-view {:flex 1
:justify-content :space-between
:background-color colors/white}
[toolbar/toolbar
{:transparent? true
:style {:margin-top 32}}
Expand Down Expand Up @@ -360,8 +361,10 @@
:auto-correct false
:container {:background-color :white}
:style {:background-color :white
:width 200
:text-align :center
:typography :header}}]]]
:font-size 20
:font-weight "700"}}]]]
[react/view {:flex-direction :row
:justify-content :space-between
:align-items :center
Expand All @@ -378,9 +381,9 @@
(defview confirm-password []
(letsubs [password [:multiaccounts.recover/password-confirmation]
error [:multiaccounts.recover/password-error]]
[react/view {:flex 1
:justify-content :space-between
:background-color colors/white}
[react/keyboard-avoiding-view {:flex 1
:justify-content :space-between
:background-color colors/white}
[toolbar/toolbar
{:transparent? true
:style {:margin-top 32}}
Expand Down Expand Up @@ -420,8 +423,10 @@
:auto-correct false
:container {:background-color :white}
:style {:background-color :white
:width 200
:text-align :center
:typography :header}}]]]
:font-size 20
:font-weight "700"}}]]]
[react/view {:flex-direction :row
:justify-content :space-between
:align-items :center
Expand Down

0 comments on commit 8bc7d39

Please sign in to comment.