From dd88b8a4c205388802a7659791ab3e8fffb17d8c Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 10:04:12 +0200 Subject: [PATCH] notifcenter: fix undefined->bool warning on actions visible binding --- modules/NotifCenter.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/NotifCenter.qml b/modules/NotifCenter.qml index 7c3f2f8..a6bde51 100644 --- a/modules/NotifCenter.qml +++ b/modules/NotifCenter.qml @@ -437,7 +437,7 @@ M.HoverPanel { // Actions Row { spacing: 4 - visible: notifDelegate._notif?.actions && notifDelegate._notif.actions.length > 0 + visible: !!(notifDelegate._notif?.actions?.length) Repeater { model: notifDelegate._notif?.actions ?? []