fix: group-avatar icon
This commit is contained in:
parent
eaa089b78c
commit
5bb309ca30
|
@ -34,7 +34,7 @@
|
|||
{:source picture
|
||||
:style {:width container-size
|
||||
:height container-size}}]
|
||||
[icon/icon :i/group
|
||||
[icon/icon :i/members
|
||||
{:size icon-size
|
||||
:color colors/white-opa-70}])])))
|
||||
|
||||
|
|
|
@ -43,9 +43,7 @@
|
|||
:flex-direction :row
|
||||
:justify-content :center}}
|
||||
(let [{:keys [picture?]} @state
|
||||
params (cond-> @state
|
||||
(picture?)
|
||||
(assoc :picture avatar))]
|
||||
params (if picture? (assoc @state :picture avatar) @state)]
|
||||
[quo2/group-avatar params])]]])))
|
||||
|
||||
(defn preview-group-avatar
|
||||
|
|
Loading…
Reference in New Issue