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'],
|
}, 'notified'],
|
||||||
|
|
||||||
[Notifications, (box, id) => {
|
[Notifications, (box, id) => {
|
||||||
|
box.visible = Notifications.notifications.length > 0;
|
||||||
for (const ch of box.children) {
|
for (const ch of box.children) {
|
||||||
if (ch._id == id) {
|
if (ch._id == id) {
|
||||||
ch.child.setStyle(ch.child._rightAnim);
|
ch.child.setStyle(ch.child._rightAnim);
|
||||||
|
|
Loading…
Reference in a new issue