From 907a734be311247801d9dbf73210545dd31683bc Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Tue, 9 Dec 2025 12:23:04 +0100 Subject: [PATCH] Remove Cache prefix from cache duration display Display cache duration as "1.5s" instead of "Cache:1.5s" in bottom status bar for cleaner presentation alongside other technical metrics. --- Cargo.toml | 2 +- src/ui/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ced0433..96abb5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-player" -version = "0.1.16" +version = "0.1.17" edition = "2021" [dependencies] diff --git a/src/ui/mod.rs b/src/ui/mod.rs index fc60b87..0f8fded 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -536,7 +536,7 @@ fn render_status_bar(frame: &mut Frame, state: &AppState, player: &Player, area: if let Some(cache_dur) = player.cache_duration { if cache_dur > 0.0 { - right_parts.push(format!("Cache:{:.1}s", cache_dur)); + right_parts.push(format!("{:.1}s", cache_dur)); } }