Addded Caching System

This commit is contained in:
tr1x_em committed 2025-08-07 09:38:10 +05:30
1 parent 4852fa01e2
commit e7fac41852
3 files changed
+466 -25

No files matched your search

+3
View File
@@ -258,6 +258,9 @@ class CachedNotifications(Notifications):
if handler_id:
# Disconnect the signal handler
cached_notification.disconnect(handler_id)
# Emit signal to notify UI that notification was removed
self.emit("cached-notification-removed", cached_notification)
def toggle_dnd(self):
self.dont_disturb = not self.dont_disturb