Skip to content

Commit 68a1013

Browse files
author
Benjamin Pasero
committed
Explore replacing notification count with alternate icon (fix microsoft#91130)
1 parent 9c31bce commit 68a1013

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/vs/workbench/browser/parts/notifications/notificationsStatus.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,20 @@ export class NotificationsStatus extends Disposable {
5858

5959
private updateNotificationsCenterStatusItem(): void {
6060
const statusProperties: IStatusbarEntry = {
61-
text: this.currentNotifications.size === 0 ? '$(bell)' : `$(bell) ${this.currentNotifications.size}`,
61+
text: this.currentNotifications.size === 0 ? '$(bell)' : '$(bell-dot)',
6262
command: this.isNotificationsCenterVisible ? HIDE_NOTIFICATIONS_CENTER : SHOW_NOTIFICATIONS_CENTER,
6363
tooltip: this.getTooltip(),
6464
showBeak: this.isNotificationsCenterVisible
6565
};
6666

6767
if (!this.notificationsCenterStatusItem) {
68-
this.notificationsCenterStatusItem = this.statusbarService.addEntry(statusProperties, 'status.notifications', localize('status.notifications', "Notifications"), StatusbarAlignment.RIGHT, -Number.MAX_VALUE /* towards the far end of the right hand side */);
68+
this.notificationsCenterStatusItem = this.statusbarService.addEntry(
69+
statusProperties,
70+
'status.notifications',
71+
localize('status.notifications', "Notifications"),
72+
StatusbarAlignment.RIGHT,
73+
-Number.MAX_VALUE /* towards the far end of the right hand side */
74+
);
6975
} else {
7076
this.notificationsCenterStatusItem.update(statusProperties);
7177
}

0 commit comments

Comments
 (0)