fix(ags): make notif list invisible when no notifs in notif center

This commit is contained in:
matt1432 2023-09-15 12:55:39 -04:00
parent 9488310721
commit 8f992718cb

View file

@ -53,6 +53,7 @@ const NotificationList = () => Box({
}, 'notified'],
[Notifications, (box, id) => {
box.visible = Notifications.notifications.length > 0;
for (const ch of box.children) {
if (ch._id == id) {
ch.child.setStyle(ch.child._rightAnim);