Skip to content

Commit 97dac76

Browse files
committed
lint
1 parent 998e37d commit 97dac76

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/status_im/contexts/wallet/share_community_channel/style.cljs

+13-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,19 @@
1919

2020
(defn qr-code-size
2121
[total-width]
22-
(- total-width (* 2 32)))
22+
(- total-width 64))
2323

2424
(defn gradient-cover-size
2525
[total-width]
26-
(- total-width (* 2 20)))
26+
(- total-width 40))
27+
28+
(defn community-share-wrapper
29+
[padding-top]
30+
{:padding-top padding-top})
31+
32+
(defn gradient-cover-wrapper
33+
[width]
34+
{:width (gradient-cover-size width)
35+
:position :absolute
36+
:border-radius 12
37+
:z-index -1})

src/status_im/contexts/wallet/share_community_channel/view.cljs

+2-7
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@
2525
:error-level :highest})
2626
title (i18n/label :t/share-channel)]
2727
[quo/overlay {:type :shell}
28-
2928
[rn/view
30-
{:flex 1
31-
:padding-top padding-top
29+
{:padding-top padding-top
3230
:key :share-community}
3331
[quo/page-nav
3432
{:icon-name :i/close
@@ -41,10 +39,7 @@
4139
[rn/view {:style style/qr-code-wrapper}
4240
[quo/gradient-cover
4341
{:container-style
44-
{:width (style/gradient-cover-size window-width)
45-
:position :absolute
46-
:border-radius 12
47-
:z-index -1}
42+
(style/gradient-cover-wrapper window-width)
4843
:customization-color (:color chat)}]
4944
[rn/view
5045
{:style {:padding-vertical 12}}

0 commit comments

Comments
 (0)