From c87b66fe35da9b03bce1453cbf95947dd687d484 Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 19 Aug 2025 16:17:04 -0400 Subject: [PATCH] fix notif button state --- Modules/TopBar/TopBar.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Modules/TopBar/TopBar.qml b/Modules/TopBar/TopBar.qml index eaf85981..a8282095 100644 --- a/Modules/TopBar/TopBar.qml +++ b/Modules/TopBar/TopBar.qml @@ -892,7 +892,7 @@ PanelWindow { NotificationCenterButton { hasUnread: root.notificationCount > 0 - isActive: notificationCenterLoader.item ? notificationCenterLoader.item.notificationHistoryVisible : false + isActive: notificationCenterLoader.item ? notificationCenterLoader.item.shouldBeVisible : false section: { if (parent && parent.parent === leftSection) return "left" @@ -910,8 +910,7 @@ PanelWindow { onClicked: { notificationCenterLoader.active = true if (notificationCenterLoader.item) { - notificationCenterLoader.item.notificationHistoryVisible - = !notificationCenterLoader.item.notificationHistoryVisible + notificationCenterLoader.item.toggle() } } }