check progress size in last event instead

This commit is contained in:
FabianLars
2023-10-31 13:29:38 +01:00
parent e7d9efee37
commit a71a0192b8
+1 -1
View File
@@ -92,7 +92,7 @@ async fn download<R: Runtime>(
temp_progress = 0;
}
}
if i < 10 {
if temp_progress != 0 {
window
.emit(
"download://progress",