mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
feat: context menu on downloaditem
This commit is contained in:
@@ -84,6 +84,11 @@ export const DownloadManagerProvider: React.FC<{ children: ReactNode }> = ({
|
||||
if (downloadItem?.downloadResumable) {
|
||||
await downloadItem.downloadResumable.cancelAsync();
|
||||
}
|
||||
toastController.show("Download cancelled", {
|
||||
burntOptions: { preset: "done" },
|
||||
native: true,
|
||||
duration: 500,
|
||||
});
|
||||
};
|
||||
|
||||
const startDownload = async (
|
||||
|
Reference in New Issue
Block a user