Merge pull request #474 from abdullahceylan/fix/http-client-issue

Fix for Dependency Injection Issue in DataFactory
This commit is contained in:
4gray authored and GitHub committed 2024-11-28 23:50:22 +01:00
commit 04cd2007d8
2 files changed
+10 -1

No files matched your search

+4 -1
View File
@@ -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();
}
+6
View File
@@ -1 +1,7 @@
import 'jest-extended';
declare module 'video.js' {
export interface VideoJsPlayer {
hlsQualitySelector(options?: any): void;
}
}