notifications working

This commit is contained in:
2026-08-09 12:48:34 +01:00
parent 3250231384
commit f2ed2e7a4e
2 changed files with 95 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ Singleton {
property alias notif: server
signal newNotification(notificiation: Notification)
function getLatestNotification() {
let notificationList = server.trackedNotifications.values;
let len = notificationList.length;
@@ -27,6 +29,7 @@ Singleton {
onNotification: notification => {
notification.tracked = true;
root.newNotification(notification);
}
}
}