Added dependency to LogService.
This commit is contained in:
parent
85f0ed3366
commit
0e823e1259
|
@ -622,6 +622,7 @@ export default class MainBackground {
|
||||||
this.stateService,
|
this.stateService,
|
||||||
this.keyGenerationService,
|
this.keyGenerationService,
|
||||||
this.encryptService,
|
this.encryptService,
|
||||||
|
this.logService,
|
||||||
);
|
);
|
||||||
|
|
||||||
this.i18nService = new I18nService(BrowserApi.getUILanguage(), this.globalStateProvider);
|
this.i18nService = new I18nService(BrowserApi.getUILanguage(), this.globalStateProvider);
|
||||||
|
|
|
@ -395,6 +395,7 @@ export class ServiceContainer {
|
||||||
this.stateService,
|
this.stateService,
|
||||||
this.keyGenerationService,
|
this.keyGenerationService,
|
||||||
this.encryptService,
|
this.encryptService,
|
||||||
|
this.logService,
|
||||||
);
|
);
|
||||||
|
|
||||||
this.kdfConfigService = new KdfConfigService(this.stateProvider);
|
this.kdfConfigService = new KdfConfigService(this.stateProvider);
|
||||||
|
|
|
@ -912,7 +912,13 @@ const safeProviders: SafeProvider[] = [
|
||||||
safeProvider({
|
safeProvider({
|
||||||
provide: InternalMasterPasswordServiceAbstraction,
|
provide: InternalMasterPasswordServiceAbstraction,
|
||||||
useClass: MasterPasswordService,
|
useClass: MasterPasswordService,
|
||||||
deps: [StateProvider, StateServiceAbstraction, KeyGenerationServiceAbstraction, EncryptService],
|
deps: [
|
||||||
|
StateProvider,
|
||||||
|
StateServiceAbstraction,
|
||||||
|
KeyGenerationServiceAbstraction,
|
||||||
|
EncryptService,
|
||||||
|
LogService,
|
||||||
|
],
|
||||||
}),
|
}),
|
||||||
safeProvider({
|
safeProvider({
|
||||||
provide: MasterPasswordServiceAbstraction,
|
provide: MasterPasswordServiceAbstraction,
|
||||||
|
|
Loading…
Reference in New Issue