From df10c2cf63f4a3f56af6ac2aa1ca6ce0edab060c Mon Sep 17 00:00:00 2001 From: krolxon Date: Wed, 19 Jun 2024 10:42:52 +0530 Subject: fix #9 --- src/connection.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/connection.rs') diff --git a/src/connection.rs b/src/connection.rs index 9bfba10..cc96eb1 100755 --- a/src/connection.rs +++ b/src/connection.rs @@ -50,11 +50,7 @@ impl Connection { .unwrap_or_else(|_| Some(empty_song.clone())) .unwrap_or(empty_song); - let volume_status = if status.volume == 0 { - VolumeStatus::Muted(status.volume) - } else { - VolumeStatus::Unmuted - }; + let volume_status = VolumeStatus::Unmuted; Ok(Self { conn, -- cgit v1.2.3