System
+
+
+
+
+
+
+
+
diff --git a/src/types.ts b/src/types.ts
index 9fcc62997..f1a752847 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -25,6 +25,7 @@ interface NotificationSettingsState {
interface SystemSettingsState {
playSound: boolean;
openAtStartup: boolean;
+ showNotificationsCountInTray: boolean;
}
export enum Theme {
diff --git a/src/utils/comms.ts b/src/utils/comms.ts
index 03beca86a..b14c62ddd 100644
--- a/src/utils/comms.ts
+++ b/src/utils/comms.ts
@@ -21,6 +21,10 @@ export function updateTrayIcon(notificationsLength = 0): void {
}
}
+export function updateTrayTitle(title: string = ''): void {
+ ipcRenderer.send('update-title', title);
+}
+
export function restoreSetting(setting, value): void {
ipcRenderer.send(setting, value);
}