From b38138cc71531919489705573bffd40ee8082cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Thu, 8 Feb 2024 13:54:32 +0100 Subject: [PATCH] fix(AppMain): display a badge for Settings icon with incoming CR Fixes #9779 --- ui/app/mainui/AppMain.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/app/mainui/AppMain.qml b/ui/app/mainui/AppMain.qml index b7e46093b1..e14954fe9b 100644 --- a/ui/app/mainui/AppMain.qml +++ b/ui/app/mainui/AppMain.qml @@ -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: {