fix: group-avatar icon

This commit is contained in:
codemaster115 2023-08-10 12:26:14 -05:00
parent eaa089b78c
commit 5bb309ca30
No known key found for this signature in database
GPG Key ID: 745FA1711381B2B0
2 changed files with 2 additions and 4 deletions

View File

@ -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}])])))

View File

@ -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