Skip to content

Commit a2eb833

Browse files
committed
fix: window.incognito has incorrect value
1 parent 88c50f4 commit a2eb833

File tree

1 file changed

+1
-1
lines changed
  • packages/electron-chrome-extensions/src/browser/api

1 file changed

+1
-1
lines changed

packages/electron-chrome-extensions/src/browser/api/windows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class WindowsAPI {
6666
})
6767
.map((tab) => this.ctx.store.tabDetailsCache.get(tab.id) as chrome.tabs.Tab)
6868
.filter(Boolean),
69-
incognito: this.ctx.session.isPersistent(),
69+
incognito: !this.ctx.session.isPersistent(),
7070
type: 'normal', // TODO
7171
state: getWindowState(win),
7272
alwaysOnTop: win.isAlwaysOnTop(),

0 commit comments

Comments
 (0)