From 2094c85205a0b54ceece914d100d559bac8130a2 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Mon, 7 Mar 2022 07:02:57 +1000 Subject: [PATCH] Fix syntax (#2434) --- src/background/main.background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/main.background.ts b/src/background/main.background.ts index 861f3f1ec3..206ff5bddd 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -497,7 +497,7 @@ export default class MainBackground { await this.webRequestBackground.init(); await this.windowsBackground.init(); - if (this.platformUtilsService.isFirefox && !this.isPrivateMode) { + if (this.platformUtilsService.isFirefox() && !this.isPrivateMode) { // Set new Private Mode windows to the default icon - they do not share state with the background page BrowserApi.onWindowCreated(async (win) => { if (win.incognito) {