diff --git a/Modules/Toast/ToastScreen.qml b/Modules/Toast/ToastScreen.qml index 0fd2d91c..e782a3ce 100644 --- a/Modules/Toast/ToastScreen.qml +++ b/Modules/Toast/ToastScreen.qml @@ -43,11 +43,11 @@ Item { function enqueueToast(toastData) { // Safe logging - fix the substring bug var descPreview = (toastData.description || "").substring(0, 100).replace(/\n/g, " ") - Logger.i("ToastScreen", "Queuing", toastData.type, ":", toastData.message, descPreview) + Logger.d("ToastScreen", "Queuing", toastData.type, ":", toastData.message, descPreview) // Bounded queue to prevent unbounded memory growth if (messageQueue.length >= maxQueueSize) { - Logger.i("ToastScreen", "Queue full, dropping oldest toast") + Logger.d("ToastScreen", "Queue full, dropping oldest toast") messageQueue.shift() } diff --git a/Services/System/NotificationService.qml b/Services/System/NotificationService.qml index 1442e5fb..dcc78f20 100644 --- a/Services/System/NotificationService.qml +++ b/Services/System/NotificationService.qml @@ -7,6 +7,7 @@ import Quickshell.Io import Quickshell.Services.Notifications import qs.Commons import qs.Services.Power +import qs.Services.UI import "../../Helpers/sha256.js" as Checksum Singleton {