bug #3820 - main wallet screen is now scrollable because of assets

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Goran Jovic 2018-04-18 10:58:16 +02:00 committed by Andrey Shovkoplyas
parent 212fb46ce6
commit acdbf6d490
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 2 additions and 9 deletions

View File

@ -68,11 +68,6 @@
(def main-section
{:flex 1})
(def scrollable-section
{:flex 1
:zIndex 1
:background-color colors/white})
(def scroll-top
(let [height (:height (react/get-dimensions "window"))]
{:background-color colors/blue
@ -111,8 +106,7 @@
;; Actions section
(def action-section
{:flex 1
:background-color colors/blue})
{:background-color colors/blue})
(def action
{:background-color colors/white-transparent

View File

@ -80,8 +80,7 @@
portfolio-value [:portfolio-value]]
[react/view styles/main-section
[toolbar-view]
[react/scroll-view {:content-container-style styles/scrollable-section
:refresh-control
[react/scroll-view {:refresh-control
(reagent/as-element
[react/refresh-control {:on-refresh #(re-frame/dispatch [:update-wallet])
:tint-color :white