Compare commits

...

3 Commits

Author SHA1 Message Date
Adrian Castro
0622e4338c feat: go back to downloads tab if all episodes removed 2024-04-15 03:04:32 +02:00
Adrian Castro
097296fcfa chore: Update renovate.json 2024-04-15 00:22:37 +02:00
Adrian Castro
861a5a8eb9 chore: move renovate config to root 2024-04-15 00:18:57 +02:00
2 changed files with 6 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
import { useMemo } from "react";
import { useEffect, useMemo } from "react";
import { Stack, useLocalSearchParams, useRouter } from "expo-router";
import { YStack } from "tamagui";
@@ -21,6 +21,10 @@ export default function Page() {
return allDownloads.find((download) => download.media.tmdbId === tmdbId);
}, [allDownloads, tmdbId]);
useEffect(() => {
if (!download) router.back();
}, [download, router]);
const handlePress = (localPath?: string) => {
if (!localPath) return;
resetVideo();

View File

@@ -9,5 +9,6 @@
],
"updateInternalDeps": true,
"rangeStrategy": "bump",
"includeForks": true,
"automerge": true
}