Reset Unity notification count on focus

This commit is contained in:
Charles Gagnon
2025-03-04 09:04:38 -05:00
parent e56d0359b8
commit 61af39bad2

View File

@@ -98,7 +98,13 @@ export const NotificationsMonitor = class extends EventEmitter {
}
_getDefaultState() {
return { trayCount: 0, trayUrgent: false, urgent: false, total: 0 }
return {
count: 0, // Unity
trayCount: 0, // MessageTray
trayUrgent: false, // MessageTray
urgent: false, // Unity add MessageTray combined
total: 0, // Unity add MessageTray combined
}
}
getState(app) {