mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
Merge branch 'feat-providers-video' of https://github.com/castdrian/mw-native into pr/9
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user