fix(AppMain): display a badge for Settings icon with incoming CR
Fixes #9779
This commit is contained in:
parent
588ad6d70b
commit
b38138cc71
|
@ -716,7 +716,9 @@ Item {
|
|||
tooltip.text: Utils.translatedSectionName(model.sectionType, model.name)
|
||||
checked: model.active
|
||||
badge.value: model.notificationsCount
|
||||
badge.visible: model.hasNotification
|
||||
badge.visible: model.sectionType === Constants.appSection.profile &&
|
||||
appMain.rootStore.contactStore.receivedContactRequestsModel.count ? true // pending CR request
|
||||
: model.hasNotification
|
||||
badge.border.color: hovered ? Theme.palette.statusBadge.hoverBorderColor : Theme.palette.statusBadge.borderColor
|
||||
badge.border.width: 2
|
||||
onClicked: {
|
||||
|
|
Loading…
Reference in New Issue