Edit SettingsWindow

This commit is contained in:
Ly-sec 2025-08-07 00:34:33 +02:00
parent 0bfef118dc
commit 6ef29ae745
17 changed files with 283 additions and 130 deletions

View file

@ -97,15 +97,11 @@ Scope {
NotificationServer {
id: notificationServer
onNotification: function (notification) {
console.log("[Notification] Received notification:", notification.appName, "-", notification.summary);
notification.tracked = true;
if (notificationPopup.notificationsVisible) {
// Add notification to all popup instances
for (let i = 0; i < notificationPopup.children.length; i++) {
let child = notificationPopup.children[i];
if (child.addNotification) {
child.addNotification(notification);
}
}
// Add notification to the popup manager
notificationPopup.addNotification(notification);
}
if (notificationHistoryLoader.active && notificationHistoryLoader.item) {
notificationHistoryLoader.item.addToHistory({