bug #3820 - main wallet screen is now scrollable because of assets
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
212fb46ce6
commit
acdbf6d490
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue