[Notifications] Add toggle

This commit is contained in:
2025-03-23 14:10:54 +01:00
parent 7ff986e7a6
commit d387d02534
2 changed files with 16 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ App.start({
} else if ( request == 'clear-newest' ) {
not.clearNewestNotifications( 0 );
res( 'Cleared newest notification' );
} else if ( request == 'toggle' ) {
not.toggleNotificationMenu( 0 );
res( 'Toggled notifications' );
} else {
res( 'Unknown command!' );
}