From f22c08991c269ce0605dec159c494ad2e94a2b41 Mon Sep 17 00:00:00 2001 From: zach Date: Thu, 28 May 2026 02:03:39 +0200 Subject: [PATCH] revert notification icon oopsie --- Daemons/NotifServer.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Daemons/NotifServer.qml b/Daemons/NotifServer.qml index 608ac03..00fa168 100644 --- a/Daemons/NotifServer.qml +++ b/Daemons/NotifServer.qml @@ -218,7 +218,7 @@ Singleton { function onImageChanged(): void { notif.imageSource = notif.notification.image || ""; notif.image = notif.imageSource; - notif.cacheImageIfNeeded(notif.imageSource); + notif.cacheImageIfNeeded(); } function onResidentChanged(): void { @@ -283,7 +283,9 @@ Singleton { } property int urgency: NotificationUrgency.Normal - function cacheImageIfNeeded(source: string): void { + function cacheImageIfNeeded(): void { + const source = imageSource; + if (!source || cachingImage) return;