Fix multiple operation progress, fixes #842

This commit is contained in:
Jeremy Soller 2025-03-03 13:05:11 -07:00
parent 1880d0a270
commit 3cce822ffc
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -4292,13 +4292,13 @@ impl Application for App {
"operations-running-finished",
running = running,
finished = finished,
percent = (total_progress as i32)
percent = ((total_progress * 100.0) as i32)
);
} else {
title = fl!(
"operations-running",
running = running,
percent = (total_progress as i32)
percent = ((total_progress * 100.0) as i32)
);
}
}