diff --git a/apps/browser/src/background/main.background.ts b/apps/browser/src/background/main.background.ts index 5b1a01e57e0..11131134862 100644 --- a/apps/browser/src/background/main.background.ts +++ b/apps/browser/src/background/main.background.ts @@ -710,13 +710,6 @@ export default class MainBackground { this.vaultTimeoutSettingsService, ); - PhishingDetectionService.initialize( - this.auditService, - this.logService, - this.storageService, - this.taskSchedulerService, - ); - this.fileUploadService = new FileUploadService(this.logService, this.apiService); this.cipherFileUploadService = new CipherFileUploadService( this.apiService, @@ -1290,6 +1283,13 @@ export default class MainBackground { ); this.inlineMenuFieldQualificationService = new InlineMenuFieldQualificationService(); + + PhishingDetectionService.initialize( + this.auditService, + this.logService, + this.storageService, + this.taskSchedulerService, + ); } async bootstrap() {