FIX: Addresses for permissions info button bg color (#18855)
This commit is contained in:
parent
a33e7f2e90
commit
b27f323dd7
|
@ -137,7 +137,8 @@
|
||||||
:description description}]))
|
:description description}]))
|
||||||
|
|
||||||
(defn- right-icon
|
(defn- right-icon
|
||||||
[{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon]}]
|
[{:keys [theme type on-button-press on-button-long-press button-disabled? button-icon button-type]
|
||||||
|
:or {button-type :primary}}]
|
||||||
(cond
|
(cond
|
||||||
(= :info type)
|
(= :info type)
|
||||||
[icons/icon
|
[icons/icon
|
||||||
|
@ -153,7 +154,7 @@
|
||||||
:on-press on-button-press
|
:on-press on-button-press
|
||||||
:on-long-press on-button-long-press
|
:on-long-press on-button-long-press
|
||||||
:disabled? button-disabled?
|
:disabled? button-disabled?
|
||||||
:type :primary
|
:type button-type
|
||||||
:size 24
|
:size 24
|
||||||
:icon-only? true}
|
:icon-only? true}
|
||||||
button-icon]))
|
button-icon]))
|
||||||
|
@ -182,7 +183,7 @@
|
||||||
|
|
||||||
(defn- view-internal
|
(defn- view-internal
|
||||||
[{:keys [title title-icon type theme description blur? community-name community-logo button-icon
|
[{:keys [title title-icon type theme description blur? community-name community-logo button-icon
|
||||||
account-name emoji context-tag-type
|
account-name emoji context-tag-type button-type
|
||||||
on-button-press
|
on-button-press
|
||||||
on-button-long-press
|
on-button-long-press
|
||||||
button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar
|
button-disabled? account-avatar-emoji account-avatar-type customization-color icon-avatar
|
||||||
|
@ -221,6 +222,7 @@
|
||||||
[right-icon
|
[right-icon
|
||||||
{:theme theme
|
{:theme theme
|
||||||
:type type
|
:type type
|
||||||
|
:button-type button-type
|
||||||
:on-button-press on-button-press
|
:on-button-press on-button-press
|
||||||
:on-button-long-press on-button-long-press
|
:on-button-long-press on-button-long-press
|
||||||
:button-disabled? button-disabled?
|
:button-disabled? button-disabled?
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
:context-tag-type :community
|
:context-tag-type :community
|
||||||
:community-name name
|
:community-name name
|
||||||
:button-icon :i/info
|
:button-icon :i/info
|
||||||
|
:button-type :grey
|
||||||
:on-button-press not-implemented/alert
|
:on-button-press not-implemented/alert
|
||||||
:community-logo (get-in images [:thumbnail :uri])
|
:community-logo (get-in images [:thumbnail :uri])
|
||||||
:customization-color color}]
|
:customization-color color}]
|
||||||
|
|
Loading…
Reference in New Issue