1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 01:53:23 +00:00

Added DI for LogService

This commit is contained in:
Todd Martin
2025-11-28 17:31:29 -05:00
parent 25a8afb6ca
commit 2a93b85e88

View File

@@ -132,7 +132,11 @@ export class Main {
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
const storageDefaults: any = {};
this.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults);
this.storageService = new ElectronStorageService(
this.logService,
app.getPath("userData"),
storageDefaults,
);
this.memoryStorageService = new MemoryStorageService();
this.memoryStorageForStateProviders = new SerializedMemoryStorageService();
const storageServiceProvider = new StorageServiceProvider(