fix: group-avatar component usage
This commit is contained in:
parent
43d72e0ba1
commit
98e2d8c6f1
|
@ -22,7 +22,8 @@
|
||||||
[_]
|
[_]
|
||||||
(fn [{:keys [size theme customization-color picture]
|
(fn [{:keys [size theme customization-color picture]
|
||||||
:or {size :x-small
|
:or {size :x-small
|
||||||
customization-color :blue}}]
|
customization-color :blue
|
||||||
|
picture nil}}]
|
||||||
(let [container-size (get-in sizes [:container size])
|
(let [container-size (get-in sizes [:container size])
|
||||||
icon-size (get-in sizes [:icon size])]
|
icon-size (get-in sizes [:icon size])]
|
||||||
[rn/view
|
[rn/view
|
||||||
|
|
|
@ -140,9 +140,9 @@
|
||||||
(:channel-name @state)]
|
(:channel-name @state)]
|
||||||
|
|
||||||
:group-avatar [quo2/group-avatar-tag (:label @state)
|
:group-avatar [quo2/group-avatar-tag (:label @state)
|
||||||
{:blur? (:blur? @state)
|
{:blur? (:blur? @state)
|
||||||
:size :small
|
:size :x-small
|
||||||
:color :purple}]
|
:customization-color :purple}]
|
||||||
|
|
||||||
:public-key [quo2/public-key-tag
|
:public-key [quo2/public-key-tag
|
||||||
{:blur? (:blur? @state)
|
{:blur? (:blur? @state)
|
||||||
|
|
Loading…
Reference in New Issue