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
|
(def main-section
|
||||||
{:flex 1})
|
{:flex 1})
|
||||||
|
|
||||||
(def scrollable-section
|
|
||||||
{:flex 1
|
|
||||||
:zIndex 1
|
|
||||||
:background-color colors/white})
|
|
||||||
|
|
||||||
(def scroll-top
|
(def scroll-top
|
||||||
(let [height (:height (react/get-dimensions "window"))]
|
(let [height (:height (react/get-dimensions "window"))]
|
||||||
{:background-color colors/blue
|
{:background-color colors/blue
|
||||||
|
@ -111,8 +106,7 @@
|
||||||
;; Actions section
|
;; Actions section
|
||||||
|
|
||||||
(def action-section
|
(def action-section
|
||||||
{:flex 1
|
{:background-color colors/blue})
|
||||||
:background-color colors/blue})
|
|
||||||
|
|
||||||
(def action
|
(def action
|
||||||
{:background-color colors/white-transparent
|
{:background-color colors/white-transparent
|
||||||
|
|
|
@ -80,8 +80,7 @@
|
||||||
portfolio-value [:portfolio-value]]
|
portfolio-value [:portfolio-value]]
|
||||||
[react/view styles/main-section
|
[react/view styles/main-section
|
||||||
[toolbar-view]
|
[toolbar-view]
|
||||||
[react/scroll-view {:content-container-style styles/scrollable-section
|
[react/scroll-view {:refresh-control
|
||||||
:refresh-control
|
|
||||||
(reagent/as-element
|
(reagent/as-element
|
||||||
[react/refresh-control {:on-refresh #(re-frame/dispatch [:update-wallet])
|
[react/refresh-control {:on-refresh #(re-frame/dispatch [:update-wallet])
|
||||||
:tint-color :white
|
:tint-color :white
|
||||||
|
|
Loading…
Reference in New Issue