New update to current version

This commit is contained in:
2026-03-12 00:10:08 -04:00
parent fbd7836ffd
commit 79f8a99c86
8 changed files with 252 additions and 253 deletions

View File

@@ -17,19 +17,13 @@ Scope {
onTriggered: GlobalStates.notificationPanelOpen = false
}
Timer {
id: quickHideTimer
interval: 1
onTriggered: GlobalStates.notificationPanelOpen = false
}
Loader {
id: notificationPanelLoader
active: GlobalStates.notificationPanelOpen
onActiveChanged: {
if (notificationPanelLoader.active & NotificationService.amountNotifications == 0) {
quickHideTimer.restart();
}
if (notificationPanelLoader.active) {
hideTimer.restart();
}
}
sourceComponent: PanelWindow {
@@ -87,4 +81,4 @@ Scope {
}
}
}
}
}