mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-23 12:59:44 +00:00
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…
x
Reference in New Issue
Block a user