Skip to content

Commit 4e1eb91

Browse files
committed
Update badge to use . instead of 1
1 parent 030cdf0 commit 4e1eb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/array/src/main/services/dock-badge/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class DockBadgeService {
1919

2020
this.hasBadge = true;
2121
if (process.platform === "darwin" || process.platform === "linux") {
22-
app.setBadgeCount(1);
22+
app.dock.setBadge(".");
2323
}
2424
log.info("Dock badge shown");
2525
}
@@ -29,7 +29,7 @@ export class DockBadgeService {
2929

3030
this.hasBadge = false;
3131
if (process.platform === "darwin" || process.platform === "linux") {
32-
app.setBadgeCount(0);
32+
app.dock.setBadge("");
3333
}
3434
log.info("Dock badge cleared");
3535
}

0 commit comments

Comments
 (0)