From 724afd6fa74d8742309ce42fa353b31e3915c819 Mon Sep 17 00:00:00 2001 From: Tal <83217276+talwat@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:11:09 +0200 Subject: [PATCH] fix: remove accidental debug display --- src/player/ui.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/player/ui.rs b/src/player/ui.rs index d06deac..29f0d50 100644 --- a/src/player/ui.rs +++ b/src/player/ui.rs @@ -114,15 +114,7 @@ async fn input(sender: Sender) -> eyre::Result<()> { /// has been displayed for, so that it's only displayed for a certain amount of frames. async fn interface(player: Arc, minimalist: bool) -> eyre::Result<()> { loop { - let action = format!( - "{} {}", - components::action(&player, WIDTH - 2), - player - .tracks - .try_read() - .and_then(|x| Ok(x.len().to_string())) - .unwrap_or(String::from("?")) - ); + let action = components::action(&player, WIDTH); let timer = VOLUME_TIMER.load(Ordering::Relaxed); let volume = player.sink.volume();