From 8225d91ee0964447ffdbc982964b815ac632d0aa Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Wed, 20 Dec 2023 18:23:27 +0400 Subject: [PATCH] Wallet: home top insets Wallet: home top insets --- src/status_im/contexts/wallet/home/style.cljs | 3 ++- src/status_im/contexts/wallet/home/view.cljs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/status_im/contexts/wallet/home/style.cljs b/src/status_im/contexts/wallet/home/style.cljs index 25690816ba4..c902caa13b3 100644 --- a/src/status_im/contexts/wallet/home/style.cljs +++ b/src/status_im/contexts/wallet/home/style.cljs @@ -24,6 +24,7 @@ (def selected-tab-container {:padding-horizontal 8}) -(def home-container +(defn home-container + [] {:margin-top (safe-area/get-top) :flex 1}) diff --git a/src/status_im/contexts/wallet/home/view.cljs b/src/status_im/contexts/wallet/home/view.cljs index 82aafc26fbd..1e138525779 100644 --- a/src/status_im/contexts/wallet/home/view.cljs +++ b/src/status_im/contexts/wallet/home/view.cljs @@ -44,7 +44,7 @@ (let [networks (rf/sub [:wallet/network-details]) account-cards-data (rf/sub [:wallet/account-cards-data]) cards (conj account-cards-data (new-account-card-data))] - [rn/view {:style style/home-container} + [rn/view {:style (style/home-container)} [common.top-nav/view] [rn/view {:style style/overview-container} [quo/wallet-overview (temp/wallet-overview-state networks)]]