Browse Source

Fix syntax (#2434)

pull/2438/head
Thomas Rittson 4 years ago committed by GitHub
parent
commit
2094c85205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/background/main.background.ts

2
src/background/main.background.ts

@ -497,7 +497,7 @@ export default class MainBackground { @@ -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) {

Loading…
Cancel
Save