Skip to content

Commit e04f7d5

Browse files
committed
lint
1 parent 450cbcc commit e04f7d5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/quo/components/share/share_community_channel_qr_code/schema.cljs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[:map {:closed true}
88
[:qr-image-uri :string]
99
[:emoji {:optional true} [:maybe :string]]
10+
[:full-name :string]
1011
[:customization-color :string]
1112
[:theme :schema.common/theme]]]]
1213
:any])

src/quo/components/share/share_community_channel_qr_code/view.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[schema.core :as schema]))
1111

1212
(defn- share-qr-code
13-
[{:keys [qr-image-uri component-width emoji customization-color]}]
13+
[{:keys [qr-image-uri component-width emoji customization-color full-name]}]
1414
[:<>
1515
[rn/view {:style style/content-container}
1616
[rn/view {:style style/share-qr-container}]
@@ -20,6 +20,7 @@
2020
:size (style/qr-code-size component-width)
2121
:avatar :channel
2222
:emoji emoji
23+
:full-name full-name
2324
:customization-color customization-color}]]]])
2425

2526
(defn- view-internal

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
:qr-size qr-size
2323
:error-level :highest})
2424
title (i18n/label :t/share-channel)]
25-
(print chat)
2625
[quo/overlay {:type :shell}
2726
[rn/view
2827
{:flex 1
@@ -42,8 +41,10 @@
4241
[quo/share-community-channel-qr-code
4342
{:qr-image-uri qr-media-server-uri
4443
:customization-color (:color chat)
45-
;; :emoji (:emoji chat)
46-
:emoji "emoji"}]]
44+
:emoji (:emoji chat)
45+
:full-name (:chat-name chat)
46+
;; :emoji "emoji"
47+
}]]
4748
[quo/text
4849
{:size :paragraph-2
4950
:weight :regular

0 commit comments

Comments
 (0)