Remove Cache prefix from cache duration display
All checks were successful
Build and Release / build-and-release (push) Successful in 55s

Display cache duration as "1.5s" instead of "Cache:1.5s" in
bottom status bar for cleaner presentation alongside other
technical metrics.
This commit is contained in:
Christoffer Martinsson 2025-12-09 12:23:04 +01:00
parent 135700ce02
commit 907a734be3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "cm-player"
version = "0.1.16"
version = "0.1.17"
edition = "2021"
[dependencies]

View File

@ -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));
}
}