From b92f7e2c58067f85d680c0c963ef5772bb6d5b7d Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Mon, 9 Jun 2025 20:33:33 -0300 Subject: [PATCH] :boom: fix(widget/notification): red box on notifications that don't have an image --- ags/widget/Notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ags/widget/Notification.ts b/ags/widget/Notification.ts index 3842dc0..e6cc656 100644 --- a/ags/widget/Notification.ts +++ b/ags/widget/Notification.ts @@ -10,7 +10,7 @@ import Pango from "gi://Pango"; function getNotificationImage(notif: AstalNotifd.Notification|HistoryNotification): (string|undefined) { const img = notif.image || notif.appIcon; - if(!img) + if(!img || !img.includes('/')) return undefined; switch(true) {