mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:23:24 +00:00
fix: some nonsense
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