File tree 2 files changed +6
-3
lines changed
quo/components/drawers/drawer_top
status_im/contexts/communities/actions/addresses_for_permissions
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 137
137
:description description}]))
138
138
139
139
(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 }}]
141
142
(cond
142
143
(= :info type)
143
144
[icons/icon
153
154
:on-press on-button-press
154
155
:on-long-press on-button-long-press
155
156
:disabled? button-disabled?
156
- :type :primary
157
+ :type button-type
157
158
:size 24
158
159
:icon-only? true }
159
160
button-icon]))
182
183
183
184
(defn- view-internal
184
185
[{: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
186
187
on-button-press
187
188
on-button-long-press
188
189
button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar
221
222
[right-icon
222
223
{:theme theme
223
224
:type type
225
+ :button-type button-type
224
226
:on-button-press on-button-press
225
227
:on-button-long-press on-button-long-press
226
228
:button-disabled? button-disabled?
Original file line number Diff line number Diff line change 69
69
:context-tag-type :community
70
70
:community-name name
71
71
:button-icon :i/info
72
+ :button-type :grey
72
73
:on-button-press not-implemented/alert
73
74
:community-logo (get-in images [:thumbnail :uri ])
74
75
:customization-color color}]
You can’t perform that action at this time.
0 commit comments