feat: Introduce NotificationHistoryLoader to manage opening and closing the NotificationHistory panel.
This commit is contained in:
@@ -14,6 +14,9 @@ Item {
|
||||
property var newestNotification: null
|
||||
property bool soundEnabled: true
|
||||
|
||||
property alias trackedNotifications: notificationServer.trackedNotifications
|
||||
property int notificationNum: trackedNotifications.values.length
|
||||
|
||||
signal notificationReceived(var notification)
|
||||
|
||||
function correctMonitor(screen) {
|
||||
@@ -55,7 +58,7 @@ Item {
|
||||
// return
|
||||
// }
|
||||
notification.tracked = true
|
||||
Config.debug == "Notification" && console.log(
|
||||
!notification.lastGeneration && Config.debug == "Notification" && console.log(
|
||||
"[NotificationServer] Notification received:",
|
||||
notification.appName, notification.id, notification.summary, notification.body
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user