fix(ags): make notif list invisible when no notifs in notif center
This commit is contained in:
parent
9488310721
commit
8f992718cb
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue