1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 13:35:36 -05:00

fix notif button state

This commit is contained in:
bbedward
2025-08-19 16:17:04 -04:00
parent 9a9ab8b047
commit c87b66fe35

View File

@@ -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()
}
}
}