From acdbf6d49078bcc173be7ddfa7aebff56dd05383 Mon Sep 17 00:00:00 2001 From: Goran Jovic Date: Wed, 18 Apr 2018 10:58:16 +0200 Subject: [PATCH] bug #3820 - main wallet screen is now scrollable because of assets Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/wallet/styles.cljs | 8 +------- src/status_im/ui/screens/wallet/views.cljs | 3 +-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/status_im/ui/screens/wallet/styles.cljs b/src/status_im/ui/screens/wallet/styles.cljs index 691ac33956..2d0781de36 100644 --- a/src/status_im/ui/screens/wallet/styles.cljs +++ b/src/status_im/ui/screens/wallet/styles.cljs @@ -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 diff --git a/src/status_im/ui/screens/wallet/views.cljs b/src/status_im/ui/screens/wallet/views.cljs index d73b990d68..38410f7b9c 100644 --- a/src/status_im/ui/screens/wallet/views.cljs +++ b/src/status_im/ui/screens/wallet/views.cljs @@ -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