mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix notif clear (#286)
This commit is contained in:
parent
294ee8a8d4
commit
c36d0895bb
1 changed files with 1 additions and 2 deletions
|
|
@ -85,9 +85,8 @@ export default (props) => {
|
|||
self.toggleClassName('notif-listaction-btn-enabled', Notifications.dnd);
|
||||
});
|
||||
const clearButton = ListActionButton('clear_all', 'Clear', () => {
|
||||
// Manual destruction is not necessary
|
||||
// since Notifications.clear() sends destroy signals to every notif
|
||||
Notifications.clear();
|
||||
notificationList.get_children().forEach(ch => ch.attribute.destroyWithAnims())
|
||||
});
|
||||
const listTitle = Box({
|
||||
vpack: 'start',
|
||||
|
|
|
|||
Loading…
Reference in a new issue