From 39ad58ff26b44a211eababe569767696b6a64838 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 4 Oct 2023 13:38:00 -0400 Subject: [PATCH] fix(ags notifs): make clear button work again --- config/ags/js/notifications/center.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ags/js/notifications/center.js b/config/ags/js/notifications/center.js index afd9790c..b62b11f4 100644 --- a/config/ags/js/notifications/center.js +++ b/config/ags/js/notifications/center.js @@ -16,7 +16,7 @@ const ClearButton = () => EventBox({ ch.child.setStyle(ch.child._rightAnim1); timeout(500, () => { button._notifList.remove(ch); - Notifications.close(ch._id); + Notifications.notifications.forEach(n => n.close()); }); }); },