fix(Communities): use fallback color for community icon if model doesn't have one

This commit is contained in:
Pascal Precht 2021-04-09 11:19:01 +02:00 committed by Iuri Matias
parent b76468e675
commit 6e63f65dae
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ ListView {
name: model.name
image: model.thumbnailImage
unviewedMessagesCount: model.unviewedMessagesCount
iconColor: model.communityColor
iconColor: model.communityColor || Style.current.blue
useLetterIdenticon: model.thumbnailImage === ""
}