diff --git a/src/main/services/window-manager.service.ts b/src/main/services/window-manager.service.ts index 69bf99b8..bd66a4f1 100644 --- a/src/main/services/window-manager.service.ts +++ b/src/main/services/window-manager.service.ts @@ -76,10 +76,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);