Merge branch 'feat-providers-video' of https://github.com/castdrian/mw-native into pr/9

This commit is contained in:
Jorrin
2024-04-13 21:03:25 +02:00

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(