mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
check progress size in last event instead
This commit is contained in:
@@ -92,7 +92,7 @@ async fn download<R: Runtime>(
|
||||
temp_progress = 0;
|
||||
}
|
||||
}
|
||||
if i < 10 {
|
||||
if temp_progress != 0 {
|
||||
window
|
||||
.emit(
|
||||
"download://progress",
|
||||
|
||||
Reference in New Issue
Block a user