notif indicator: fix readability

This commit is contained in:
end-4
2025-10-12 10:06:23 +02:00
parent 2b62a5a0cc
commit 3b689f8a66
@@ -305,10 +305,10 @@ Item { // Bar content region
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
} }
Rectangle { Rectangle {
visible: !Notifications.silent visible: !Notifications.silent && Notifications.unread > 0
anchors.right: parent.right anchors.right: parent.right
radius: Appearance.rounding.full radius: Appearance.rounding.full
color: Appearance.colors.colLayer0 color: Appearance.colors.colOnLayer0
z: 1 z: 1
implicitHeight: Math.max(notificationCounterText.implicitWidth, notificationCounterText.implicitHeight) implicitHeight: Math.max(notificationCounterText.implicitWidth, notificationCounterText.implicitHeight)
@@ -318,7 +318,7 @@ Item { // Bar content region
id: notificationCounterText id: notificationCounterText
anchors.centerIn: parent anchors.centerIn: parent
font.pixelSize: Appearance.font.pixelSize.smallest font.pixelSize: Appearance.font.pixelSize.smallest
color: Appearance.colors.colOnLayer1 color: Appearance.colors.colLayer0
text: Notifications.unread text: Notifications.unread
} }
} }