From b96deaa0c35b3558e46bc2ab397b9464ddcee6be Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Wed, 24 Sep 2025 17:04:02 -0400 Subject: [PATCH] Notification: simpler active loader conditions --- Modules/Notification/Notification.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/Notification/Notification.qml b/Modules/Notification/Notification.qml index c00d9829..3cf73d3f 100644 --- a/Modules/Notification/Notification.qml +++ b/Modules/Notification/Notification.qml @@ -22,9 +22,7 @@ Variants { property ListModel notificationModel: NotificationService.activeList // If no notification display activated in settings, then show them all - active: Settings.isLoaded && modelData && (notificationModel.count > 0) ? (Settings.data.notifications.monitors.includes(modelData.name) || (Settings.data.notifications.monitors.length === 0)) : false - - visible: (notificationModel.count > 0) + active: Settings.isLoaded && modelData && (Settings.data.notifications.monitors.includes(modelData.name) || (Settings.data.notifications.monitors.length === 0)) Connections { target: ScalingService