diff --git a/src/main/services/window-manager.service.ts b/src/main/services/window-manager.service.ts index f0a7657e..47c8f28e 100644 --- a/src/main/services/window-manager.service.ts +++ b/src/main/services/window-manager.service.ts @@ -82,10 +82,6 @@ export class WindowManagerService { return BrowserWindow.getAllWindows().filter(w => w.webContents.getURL().includes(window)); } - public getBrowserWindowsFromWebContents(sender: Electron.WebContents): BrowserWindow { - return BrowserWindow.fromWebContents(sender); - } - public openWindowOrFocus(window: AppWindow): Promise { const win = this.getWindows(window);