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`) await FileSystem.getInfoAsync(`${FileSystem.cacheDirectory}movie-web`)
).exists ).exists
) { ) {
console.error("Cache directory is unavailable"); await ensureDirExists(`${FileSystem.cacheDirectory}movie-web`);
return;
} }
const downloadResumable = FileSystem.createDownloadResumable( const downloadResumable = FileSystem.createDownloadResumable(