More optims and renaming

This commit is contained in:
LemmyCook 2025-08-25 22:17:13 -04:00
parent d2563db5a0
commit 269b2765cd
7 changed files with 78 additions and 82 deletions

View file

@ -25,9 +25,10 @@ Variants {
property var removingNotifications: ({})
// If no notification display activated in settings, then show them all
active: modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|| (Settings.data.notifications.monitors.length === 0))
&& (NotificationService.notificationModel.count > 0) : false
active: Settings.isLoaded && modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|| (Settings.data.notifications.monitors.length === 0)) : false
visible: (NotificationService.notificationModel.count > 0)
sourceComponent: PanelWindow {
screen: modelData