Wallet: home top insets

Wallet: home top insets
This commit is contained in:
Omar Basem 2023-12-20 18:23:27 +04:00 committed by GitHub
parent f631e1fe9d
commit 8225d91ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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})

View File

@ -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)]]