1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Removed browser logic for checking feature flag

This commit is contained in:
Conner Turnbull
2025-03-20 11:23:39 -04:00
parent 93389f6741
commit df1c621ff0

View File

@@ -1284,21 +1284,12 @@ export default class MainBackground {
this.inlineMenuFieldQualificationService = new InlineMenuFieldQualificationService();
this.configService
.getFeatureFlag(FeatureFlag.PhishingDetection)
.then((enabled) => {
if (enabled) {
PhishingDetectionService.initialize(
this.auditService,
this.logService,
this.storageService,
this.taskSchedulerService,
);
}
})
.catch((error) =>
this.logService.error("Failed to check phishing detection feature flag", error),
);
PhishingDetectionService.initialize(
this.auditService,
this.logService,
this.storageService,
this.taskSchedulerService,
);
}
async bootstrap() {