fix: some nonsense

This commit is contained in:
Adrian Castro
2024-04-13 20:54:24 +02:00
parent 5b80273dfb
commit 2b1aa407d4

View File

@@ -194,8 +194,7 @@ export const useDownloadManager = () => {
await FileSystem.getInfoAsync(`${FileSystem.cacheDirectory}movie-web`)
).exists
) {
console.error("Cache directory is unavailable");
return;
await ensureDirExists(`${FileSystem.cacheDirectory}movie-web`);
}
const downloadResumable = FileSystem.createDownloadResumable(