fix(ags notifs): make clear button work again

This commit is contained in:
matt1432 2023-10-04 13:38:00 -04:00
parent ffa798f586
commit 39ad58ff26

View file

@ -16,7 +16,7 @@ const ClearButton = () => EventBox({
ch.child.setStyle(ch.child._rightAnim1); ch.child.setStyle(ch.child._rightAnim1);
timeout(500, () => { timeout(500, () => {
button._notifList.remove(ch); button._notifList.remove(ch);
Notifications.close(ch._id); Notifications.notifications.forEach(n => n.close());
}); });
}); });
}, },