diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f116a2905..18aa11225 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -48,7 +48,10 @@ function isTauri() { /** * Conditionally imports the necessary service based on the current environment */ -export function DataFactory(http: HttpClient) { +export function DataFactory( + ngxIndexedDBService: NgxIndexedDBService, + http: HttpClient +) { if (isElectron()) { return new ElectronService(); }