mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
downloads refactor
This commit is contained in:
@@ -11,7 +11,6 @@ import { usePlayerStore } from "~/stores/player/store";
|
||||
|
||||
export default function VideoPlayerWrapper() {
|
||||
const playerStatus = usePlayerStore((state) => state.interface.playerStatus);
|
||||
const asset = usePlayerStore((state) => state.asset);
|
||||
const { presentFullscreenPlayer } = usePlayer();
|
||||
|
||||
const params = useLocalSearchParams();
|
||||
@@ -32,10 +31,6 @@ export default function VideoPlayerWrapper() {
|
||||
|
||||
void presentFullscreenPlayer();
|
||||
|
||||
if (asset) {
|
||||
return <VideoPlayer />;
|
||||
}
|
||||
|
||||
if (download) {
|
||||
return <ScraperProcess data={data} download />;
|
||||
}
|
||||
|
Reference in New Issue
Block a user