1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 05:55:37 -05:00

notifications: fix stuck externally dismissed notifs

This commit is contained in:
bbedward
2025-07-27 18:37:56 -04:00
parent 84036c57b6
commit da70434eba

View File

@@ -449,9 +449,23 @@ PanelWindow {
}
}
}
Connections {
id: notificationConn
target: (win.notificationData && win.notificationData.notification && win.notificationData.notification.Retainable) || null
ignoreUnknownSignals: true
enabled: !win._isDestroying
function onDropped() {
if (!win._isDestroying && !win.exiting) {
forceExit();
}
}
}
onNotificationDataChanged: {
if (!_isDestroying) {
wrapperConn.target = win.notificationData || null;
notificationConn.target = (win.notificationData && win.notificationData.notification && win.notificationData.notification.Retainable) || null;
}
}