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