mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 10:23:24 +00:00
fix missing / on cache directory
This commit is contained in:
@@ -188,7 +188,7 @@ export const useDownloadManager = () => {
|
|||||||
lastTimestamp = currentTime;
|
lastTimestamp = currentTime;
|
||||||
};
|
};
|
||||||
|
|
||||||
const fileUri = `${FileSystem.cacheDirectory}movie-web${url.split("/").pop()}`;
|
const fileUri = `${FileSystem.cacheDirectory}movie-web/${url.split("/").pop()}`;
|
||||||
if (
|
if (
|
||||||
!(
|
!(
|
||||||
await FileSystem.getInfoAsync(`${FileSystem.cacheDirectory}movie-web`)
|
await FileSystem.getInfoAsync(`${FileSystem.cacheDirectory}movie-web`)
|
||||||
|
Reference in New Issue
Block a user