[Notifications] Add toggle
This commit is contained in:
@@ -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!' );
|
||||
}
|
||||
|
Reference in New Issue
Block a user