From ad4ea0783f189bfa1d3d4633bd3164be87bc0476 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 9 Oct 2024 20:37:38 +0200 Subject: [PATCH] A black square background at the end of Swap confirmation screen (#21372) --- .../contexts/wallet/swap/set_spending_cap/style.cljs | 10 +++++++--- .../contexts/wallet/swap/set_spending_cap/view.cljs | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/wallet/swap/set_spending_cap/style.cljs b/src/status_im/contexts/wallet/swap/set_spending_cap/style.cljs index 6fea0f28f4..e7c9fedd2f 100644 --- a/src/status_im/contexts/wallet/swap/set_spending_cap/style.cljs +++ b/src/status_im/contexts/wallet/swap/set_spending_cap/style.cljs @@ -10,8 +10,12 @@ :height 36 :background-color :transparent}) +(def floating-button-page-content-container + {:margin-bottom 168}) + (def scroll-view-container - {:padding-bottom 150}) + {:flex 1 + :padding-bottom 20}) (def content-container {:padding-top 12 @@ -56,5 +60,5 @@ (defn footer-container [theme] - {:margin-bottom -10 - :background-color (colors/theme-colors colors/white colors/neutral-100 theme)}) + {:margin-bottom -12 + :background-color (colors/theme-colors colors/white colors/neutral-95 theme)}) diff --git a/src/status_im/contexts/wallet/swap/set_spending_cap/view.cljs b/src/status_im/contexts/wallet/swap/set_spending_cap/view.cljs index 6de76e4ed1..cdd3b2799a 100644 --- a/src/status_im/contexts/wallet/swap/set_spending_cap/view.cljs +++ b/src/status_im/contexts/wallet/swap/set_spending_cap/view.cljs @@ -254,6 +254,7 @@ [rn/view {:style style/container} [floating-button-page/view {:footer-container-padding 0 + :content-container-style style/floating-button-page-content-container :header [quo/page-nav {:icon-name :i/close :on-press events-helper/navigate-back