Displaying icons in app nav bar qml component updated.
This commit is contained in:
parent
07f1510dd3
commit
c084a56e60
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue