From 7e61a33440c7fa91e7824d6404ad0f36e0213254 Mon Sep 17 00:00:00 2001 From: nilltadios Date: Thu, 25 Dec 2025 14:02:33 -0500 Subject: [PATCH] fix: require at least one running operation for progress title The condition `if running > 1 || finished > 0` could display "0 operations running" when running == 0 but finished > 0. Changed to `if running >= 1 && (running > 1 || finished > 0)` to ensure the title only shows when at least one operation is running. --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index ec9a11a..7ac0ee2 100644 --- a/src/app.rs +++ b/src/app.rs @@ -5589,7 +5589,7 @@ impl Application for App { } let finished = count - running; total_progress /= count as f32; - if running > 1 || finished > 0 { + if running >= 1 && (running > 1 || finished > 0) { if finished > 0 { title = fl!( "operations-running-finished",