1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

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

View File

@@ -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) {