Remove Cache prefix from cache duration display
All checks were successful
Build and Release / build-and-release (push) Successful in 55s
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:
parent
135700ce02
commit
907a734be3
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cm-player"
|
name = "cm-player"
|
||||||
version = "0.1.16"
|
version = "0.1.17"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@ -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 let Some(cache_dur) = player.cache_duration {
|
||||||
if cache_dur > 0.0 {
|
if cache_dur > 0.0 {
|
||||||
right_parts.push(format!("Cache:{:.1}s", cache_dur));
|
right_parts.push(format!("{:.1}s", cache_dur));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user