mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
chore: newest download first
This commit is contained in:
@@ -50,7 +50,7 @@ export const DownloadManagerProvider: React.FC<{ children: ReactNode }> = ({
|
||||
isFinished: false,
|
||||
};
|
||||
|
||||
setDownloads((currentDownloads) => [...currentDownloads, newDownload]);
|
||||
setDownloads((currentDownloads) => [newDownload, ...currentDownloads]);
|
||||
|
||||
if (type === "mp4") {
|
||||
await downloadMP4(url);
|
||||
|
Reference in New Issue
Block a user