Improve community avatar for shell card (#14813)
This commit is contained in:
parent
ab1fd43f28
commit
b370514ef3
|
@ -120,10 +120,13 @@
|
||||||
|
|
||||||
(shell.constants/community-card
|
(shell.constants/community-card
|
||||||
shell.constants/community-channel-card)
|
shell.constants/community-channel-card)
|
||||||
(if (:source avatar-params)
|
(cond
|
||||||
|
(:source avatar-params)
|
||||||
[fast-image/fast-image
|
[fast-image/fast-image
|
||||||
{:source (:source avatar-params)
|
{:source (:source avatar-params)
|
||||||
:style (style/community-avatar customization-color)}]
|
:style (style/community-avatar customization-color)}]
|
||||||
|
|
||||||
|
(:name avatar-params)
|
||||||
;; TODO - Update to fall back community avatar once designs are available
|
;; TODO - Update to fall back community avatar once designs are available
|
||||||
[rn/view {:style (style/community-avatar customization-color)}
|
[rn/view {:style (style/community-avatar customization-color)}
|
||||||
[quo/text
|
[quo/text
|
||||||
|
|
Loading…
Reference in New Issue