mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
Merge pull request #474 from abdullahceylan/fix/http-client-issue
Fix for Dependency Injection Issue in DataFactory
This commit is contained in:
2 files changed
+10
-1
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Vendored
+6
@@ -1 +1,7 @@
|
||||
import 'jest-extended';
|
||||
|
||||
declare module 'video.js' {
|
||||
export interface VideoJsPlayer {
|
||||
hlsQualitySelector(options?: any): void;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user