SDA-4187: Restore notification and presence upon capture with SDA minimized (#1857)

This commit is contained in:
NguyenTranHoangSym 2023-05-09 16:11:57 +07:00 committed by Salah Benmoussati
parent a71d272697
commit 568e522c4e

View File

@ -1,7 +1,8 @@
import { BrowserWindow } from 'electron';
import { presenceStatusStore } from '.';
import { isMac, isWindowsOS } from '../../common/env';
import { ICustomBrowserWindow, windowHandler } from '../window-handler';
import { getWindowByName } from '../window-utils';
import { getWindowByName, showBadgeCount } from '../window-utils';
export interface IWindowObject {
windows: IWindowState[];
@ -102,6 +103,7 @@ export class WindowStore {
focusedWindowToRestore,
);
showBadgeCount(presenceStatusStore.getNotificationCount());
// Store reset
this.destroyWindowStore();
}