Fix syntax (#2434)

This commit is contained in:
Thomas Rittson 2022-03-07 07:02:57 +10:00 committed by GitHub
parent a8857aad76
commit 2094c85205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ export default class MainBackground {
await this.webRequestBackground.init(); await this.webRequestBackground.init();
await this.windowsBackground.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 // Set new Private Mode windows to the default icon - they do not share state with the background page
BrowserApi.onWindowCreated(async (win) => { BrowserApi.onWindowCreated(async (win) => {
if (win.incognito) { if (win.incognito) {