Addded Caching System
This commit is contained in:
1 parent
4852fa01e2
commit
e7fac41852
3 files changed
+466
-25
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user