Skip to content

Commit ad4ea07

Browse files
authored
A black square background at the end of Swap confirmation screen (#21372)
1 parent 5c44cb6 commit ad4ea07

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/status_im/contexts/wallet/swap/set_spending_cap/style.cljs

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
:height 36
1111
:background-color :transparent})
1212

13+
(def floating-button-page-content-container
14+
{:margin-bottom 168})
15+
1316
(def scroll-view-container
14-
{:padding-bottom 150})
17+
{:flex 1
18+
:padding-bottom 20})
1519

1620
(def content-container
1721
{:padding-top 12
@@ -56,5 +60,5 @@
5660

5761
(defn footer-container
5862
[theme]
59-
{:margin-bottom -10
60-
:background-color (colors/theme-colors colors/white colors/neutral-100 theme)})
63+
{:margin-bottom -12
64+
:background-color (colors/theme-colors colors/white colors/neutral-95 theme)})

src/status_im/contexts/wallet/swap/set_spending_cap/view.cljs

+1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@
254254
[rn/view {:style style/container}
255255
[floating-button-page/view
256256
{:footer-container-padding 0
257+
:content-container-style style/floating-button-page-content-container
257258
:header [quo/page-nav
258259
{:icon-name :i/close
259260
:on-press events-helper/navigate-back

0 commit comments

Comments
 (0)