mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:23:24 +00:00
Compare commits
4 Commits
21e34f9212
...
925c1a39fc
Author | SHA1 | Date | |
---|---|---|---|
|
925c1a39fc | ||
|
0622e4338c | ||
|
097296fcfa | ||
|
861a5a8eb9 |
@@ -1,4 +1,4 @@
|
|||||||
import { useMemo } from "react";
|
import { useEffect, useMemo } from "react";
|
||||||
import { Stack, useLocalSearchParams, useRouter } from "expo-router";
|
import { Stack, useLocalSearchParams, useRouter } from "expo-router";
|
||||||
import { YStack } from "tamagui";
|
import { YStack } from "tamagui";
|
||||||
|
|
||||||
@@ -21,6 +21,10 @@ export default function Page() {
|
|||||||
return allDownloads.find((download) => download.media.tmdbId === tmdbId);
|
return allDownloads.find((download) => download.media.tmdbId === tmdbId);
|
||||||
}, [allDownloads, tmdbId]);
|
}, [allDownloads, tmdbId]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (!download) router.back();
|
||||||
|
}, [download, router]);
|
||||||
|
|
||||||
const handlePress = (localPath?: string) => {
|
const handlePress = (localPath?: string) => {
|
||||||
if (!localPath) return;
|
if (!localPath) return;
|
||||||
resetVideo();
|
resetVideo();
|
||||||
|
@@ -9,5 +9,6 @@
|
|||||||
],
|
],
|
||||||
"updateInternalDeps": true,
|
"updateInternalDeps": true,
|
||||||
"rangeStrategy": "bump",
|
"rangeStrategy": "bump",
|
||||||
|
"includeForks": true,
|
||||||
"automerge": true
|
"automerge": true
|
||||||
}
|
}
|
Reference in New Issue
Block a user