Displaying icons in app nav bar qml component updated.

This commit is contained in:
Sale Djenic 2021-10-19 10:48:53 +02:00 committed by Iuri Matias
parent 07f1510dd3
commit c084a56e60
1 changed files with 3 additions and 3 deletions

View File

@ -224,10 +224,10 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
checked: chatsModel.communities.activeCommunity.active && chatsModel.communities.activeCommunity.id === model.id checked: chatsModel.communities.activeCommunity.active && chatsModel.communities.activeCommunity.id === model.id
name: model.name name: model.icon.length > 0? "" : model.name
tooltip.text: model.name tooltip.text: model.name
icon.color: model.color icon.color: model.color.length > 0? model.color : Theme.palette.baseColor1
icon.source: model.image.length > 0? model.image : model.icon icon.source: model.image
icon.name: model.icon icon.name: model.icon
badge.value: model.unviewedMentionsCount + model.requestsCount badge.value: model.unviewedMentionsCount + model.requestsCount