File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 7
7
[:map {:closed true }
8
8
[:qr-image-uri :string ]
9
9
[:emoji {:optional true } [:maybe :string ]]
10
+ [:full-name :string ]
10
11
[:customization-color :string ]
11
12
[:theme :schema.common/theme ]]]]
12
13
:any ])
Original file line number Diff line number Diff line change 10
10
[schema.core :as schema]))
11
11
12
12
(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 ]}]
14
14
[:<>
15
15
[rn/view {:style style/content-container}
16
16
[rn/view {:style style/share-qr-container}]
20
20
:size (style/qr-code-size component-width)
21
21
:avatar :channel
22
22
:emoji emoji
23
+ :full-name full-name
23
24
:customization-color customization-color}]]]])
24
25
25
26
(defn- view-internal
Original file line number Diff line number Diff line change 22
22
:qr-size qr-size
23
23
:error-level :highest })
24
24
title (i18n/label :t/share-channel )]
25
- (print chat)
26
25
[quo/overlay {:type :shell }
27
26
[rn/view
28
27
{:flex 1
42
41
[quo/share-community-channel-qr-code
43
42
{:qr-image-uri qr-media-server-uri
44
43
: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
+ }]]
47
48
[quo/text
48
49
{:size :paragraph-2
49
50
:weight :regular
You can’t perform that action at this time.
0 commit comments