fixed wallet settings hook screen on iphone x

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2019-01-10 14:17:45 +01:00
parent a4efc661e1
commit c9c778c063
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 4 additions and 3 deletions

View File

@ -270,7 +270,8 @@
:wallet-onboarding-setup
:wallet-settings-assets
:wallet-modal
:wallet-onboarding-setup-modal)
:wallet-onboarding-setup-modal
:wallet-settings-hook)
colors/blue
(:qr-viewer

View File

@ -58,8 +58,8 @@
(defview settings-hook []
(letsubs [{:keys [label view]} [:get-screen-params :wallet-settings-hook]
{address :address} [:account/account]]
[react/view {:style {:flex 1 :background-color colors/white}}
[status-bar/status-bar {:type :modal-wallet}]
[react/view {:style {:flex 1 :background-color colors/blue}}
[status-bar/status-bar {:type :wallet}]
[toolbar/toolbar {:style wallet.styles/toolbar}
[toolbar/nav-button (actions/back-white #(do (re-frame/dispatch [:update-wallet])
(re-frame/dispatch [:navigate-back])))]