From da387169a53c9f76298274fb345c8a13322a5804 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:23:23 +0200 Subject: [PATCH] [chore] remove ununsed function --- src/main/services/window-manager.service.ts | 4 ---- 1 file changed, 4 deletions(-) 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);