check progress size in last event instead

download-throttled-events
FabianLars 2 years ago
parent e7d9efee37
commit a71a0192b8
No known key found for this signature in database
GPG Key ID: 838F329885A9C43D

@ -92,7 +92,7 @@ async fn download<R: Runtime>(
temp_progress = 0;
}
}
if i < 10 {
if temp_progress != 0 {
window
.emit(
"download://progress",

Loading…
Cancel
Save