forked from Shinonome/dots-hyprland
notifications: dont print on discard
This commit is contained in:
@@ -190,7 +190,7 @@ Singleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function discardNotification(id) {
|
function discardNotification(id) {
|
||||||
console.log("[Notifications] Discarding notification with ID: " + id);
|
// console.log("[Notifications] Discarding notification with ID: " + id);
|
||||||
const index = root.list.findIndex((notif) => notif.notificationId === id);
|
const index = root.list.findIndex((notif) => notif.notificationId === id);
|
||||||
const notifServerIndex = notifServer.trackedNotifications.values.findIndex((notif) => notif.id + root.idOffset === id);
|
const notifServerIndex = notifServer.trackedNotifications.values.findIndex((notif) => notif.id + root.idOffset === id);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user