notifications - keep center open when disabling DND mode

This commit is contained in:
Benjamin Pasero
2023-12-19 11:12:03 +01:00
committed by Benjamin Pasero
parent d091cae7a2
commit 3752cc575f
@@ -74,7 +74,9 @@ export class NotificationsCenter extends Themable implements INotificationsCente
}
private onDidChangeGlobalDoNotDisturbMode(): void {
this.hide(); // hide the notification center when do not disturb is toggled
if (this.notificationService.isGlobalDoNotDisturbMode) {
this.hide(); // hide the notification center when do not disturb is toggled
}
}
get isVisible(): boolean {