1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

Add SFSafariAppExtensionBundleIdentifiersToReplace

This commit is contained in:
Hinton
2020-12-14 10:20:41 +01:00
parent 9fb80823ba
commit 36bda45c2e
2 changed files with 4 additions and 3 deletions

View File

@@ -40,16 +40,15 @@ export default class RuntimeBackground {
private systemService: SystemService, private vaultTimeoutService: VaultTimeoutService,
private environmentService: EnvironmentService, private policyService: PolicyService,
private userService: UserService) {
this.runtime = chrome.runtime;
// onInstalled listener must be wired up before anything else, so we do it in the ctor
this.runtime.onInstalled.addListener((details: any) => {
chrome.runtime.onInstalled.addListener((details: any) => {
this.onInstalledReason = details.reason;
});
}
async init() {
if (!this.runtime) {
if (!chrome.runtime) {
return;
}