Skip to content

Commit

Permalink
fix: add a startup to create facebook page on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Oct 10, 2019
1 parent a157bb1 commit b38be2a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/background-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ if (GetContext() === 'background') {
browser.tabs.create({ url: getWelcomePageURL() })
}
})

if (process.env.target === 'WKWebview') {
browser.tabs.create({
url: 'https://m.facebook.com/',
active: true,
})
}
}
function IgnoreError(arg: unknown): (reason: Error) => void {
return e => {
Expand Down

0 comments on commit b38be2a

Please sign in to comment.