chore: more cleanup

This commit is contained in:
Adrian Castro
2024-02-15 20:09:19 +01:00
parent 53106d8b7b
commit b3dbb7f334
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ import * as NavigationBar from "expo-navigation-bar";
import { useLocalSearchParams, useRouter } from "expo-router";
import * as StatusBar from "expo-status-bar";
import type { ScrapeMedia, Stream } from "@movie-web/provider-utils";
import type { HLSTracks, ScrapeMedia, Stream } from "@movie-web/provider-utils";
import {
extractTracksFromHLS,
findHighestQuality,
@@ -169,7 +169,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
let highestQuality;
let url;
let _tracks;
let _tracks: HLSTracks | null;
switch (stream.type) {
case "file":