This commit is contained in:
Ly-sec
2025-08-24 19:38:35 +02:00
parent 76626dc8da
commit 37dad3a255
4 changed files with 884 additions and 773 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ Variants {
// Only show on screens that have notifications enabled
visible: modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|| (Settings.data.notifications.monitors.length === 0)) : false
|| (Settings.data.notifications.monitors.length === 0)) : false
// Position based on bar location, like Notification popup does
anchors {
@@ -57,7 +57,7 @@ Variants {
Component.onCompleted: {
// Only register toasts for screens that have notifications enabled
if (modelData ? (Settings.data.notifications.monitors.includes(modelData.name)
|| (Settings.data.notifications.monitors.length === 0)) : false) {
|| (Settings.data.notifications.monitors.length === 0)) : false) {
// Register this toast with the service
ToastService.allToasts.push(toast)