Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add default value for retry option in HotmartDownloader

Tonhob29e6c824353
diff --git a/src-tauri/src/platforms/hotmart/downloader.rs b/src-tauri/src/platforms/hotmart/downloader.rs
index fa304dd7..e0cfe706 100644
--- a/src-tauri/src/platforms/hotmart/downloader.rs
+++ b/src-tauri/src/platforms/hotmart/downloader.rs
@@ -306,6 +306,7 @@ impl HotmartDownloader {
cancel_token.clone(),
None,
concurrent_fragments,
+ false,
).await {
Ok(result) => {
let _ = bytes_tx.send(result.file_size_bytes);
@@ -376,6 +377,7 @@ impl HotmartDownloader {
cancel_token.clone(),
None,
concurrent_fragments,
+ false,
).await {
Ok(result) => {
let _ = bytes_tx.send(result.file_size_bytes);