Skip to content

Commit 9a6be80

Browse files
authored
Merge branch 'develop' into share-community-qr-17993
2 parents 589ea99 + b27f323 commit 9a6be80

File tree

2 files changed

+6
-3
lines changed
  • src
    • quo/components/drawers/drawer_top
    • status_im/contexts/communities/actions/addresses_for_permissions

2 files changed

+6
-3
lines changed

src/quo/components/drawers/drawer_top/view.cljs

+5-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@
137137
:description description}]))
138138

139139
(defn- right-icon
140-
[{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon]}]
140+
[{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon button-type]
141+
:or {button-type :primary}}]
141142
(cond
142143
(= :info type)
143144
[icons/icon
@@ -153,7 +154,7 @@
153154
:on-press on-button-press
154155
:on-long-press on-button-long-press
155156
:disabled? button-disabled?
156-
:type :primary
157+
:type button-type
157158
:size 24
158159
:icon-only? true}
159160
button-icon]))
@@ -182,7 +183,7 @@
182183

183184
(defn- view-internal
184185
[{:keys [title title-icon type theme description blur? community-name community-logo button-icon
185-
account-name emoji context-tag-type
186+
account-name emoji context-tag-type button-type
186187
on-button-press
187188
on-button-long-press
188189
button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar
@@ -221,6 +222,7 @@
221222
[right-icon
222223
{:theme theme
223224
:type type
225+
:button-type button-type
224226
:on-button-press on-button-press
225227
:on-button-long-press on-button-long-press
226228
:button-disabled? button-disabled?

src/status_im/contexts/communities/actions/addresses_for_permissions/view.cljs

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
:context-tag-type :community
7070
:community-name name
7171
:button-icon :i/info
72+
:button-type :grey
7273
:on-button-press not-implemented/alert
7374
:community-logo (get-in images [:thumbnail :uri])
7475
:customization-color color}]

0 commit comments

Comments
 (0)