fix download

This commit is contained in:
wgh19
2024-05-15 22:26:24 +08:00
parent 4ada655bbd
commit 77b298a6b9

View File

@@ -267,7 +267,7 @@ class DownloadManager {
_currentBytes += bytes; _currentBytes += bytes;
} }
int get maxConcurrentTasks => appdata.settings["maxDownloadParallels"]; int get maxConcurrentTasks => appdata.settings["maxParallels"];
void run() { void run() {
_loop ??= Timer.periodic(const Duration(seconds: 1), (timer) { _loop ??= Timer.periodic(const Duration(seconds: 1), (timer) {