fix(Communities): use fallback color for community icon if model doesn't have one
This commit is contained in:
parent
b76468e675
commit
6e63f65dae
|
@ -20,7 +20,7 @@ ListView {
|
||||||
name: model.name
|
name: model.name
|
||||||
image: model.thumbnailImage
|
image: model.thumbnailImage
|
||||||
unviewedMessagesCount: model.unviewedMessagesCount
|
unviewedMessagesCount: model.unviewedMessagesCount
|
||||||
iconColor: model.communityColor
|
iconColor: model.communityColor || Style.current.blue
|
||||||
useLetterIdenticon: model.thumbnailImage === ""
|
useLetterIdenticon: model.thumbnailImage === ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue