mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
SDA-4187: Restore notification and presence upon capture with SDA minimized (#1857)
This commit is contained in:
parent
a71d272697
commit
568e522c4e
@ -1,7 +1,8 @@
|
|||||||
import { BrowserWindow } from 'electron';
|
import { BrowserWindow } from 'electron';
|
||||||
|
import { presenceStatusStore } from '.';
|
||||||
import { isMac, isWindowsOS } from '../../common/env';
|
import { isMac, isWindowsOS } from '../../common/env';
|
||||||
import { ICustomBrowserWindow, windowHandler } from '../window-handler';
|
import { ICustomBrowserWindow, windowHandler } from '../window-handler';
|
||||||
import { getWindowByName } from '../window-utils';
|
import { getWindowByName, showBadgeCount } from '../window-utils';
|
||||||
|
|
||||||
export interface IWindowObject {
|
export interface IWindowObject {
|
||||||
windows: IWindowState[];
|
windows: IWindowState[];
|
||||||
@ -102,6 +103,7 @@ export class WindowStore {
|
|||||||
focusedWindowToRestore,
|
focusedWindowToRestore,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
showBadgeCount(presenceStatusStore.getNotificationCount());
|
||||||
// Store reset
|
// Store reset
|
||||||
this.destroyWindowStore();
|
this.destroyWindowStore();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user