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 {: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}])])))

View File

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