aboutsummaryrefslogtreecommitdiff
path: root/src/connection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.rs')
-rwxr-xr-xsrc/connection.rs6
1 files changed, 1 insertions, 5 deletions
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,