Skip to content

Commit

Permalink
Open the install helper in a tab rather than window
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas101 committed Oct 25, 2024
1 parent 976aa03 commit 0be6dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/extension/background/APIHandler/APIHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class APIHandler {

#handleGetCapabilities = async () => {
return {
extension: true,
helper: (await System.isNativeInstalled()) === NativeInstalledResult.Responded
} as AICapabilities
}
Expand Down
7 changes: 1 addition & 6 deletions src/extension/background/NativeInstallHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ class NativeInstallHelperImpl {

const url = new URL(Config.extension.installHelperUrl)
url.searchParams.set('reason', reason)
chrome.windows.create({
url: url.toString(),
type: 'popup',
width: 400,
height: 600
})
chrome.tabs.create({ url: url.toString() })
}
}

Expand Down

0 comments on commit 0be6dd6

Please sign in to comment.