aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/app.rs2
-rwxr-xr-xsrc/connection.rs6
2 files changed, 2 insertions, 6 deletions
diff --git a/src/app.rs b/src/app.rs
index 0341fbe..3338a1f 100755
--- a/src/app.rs
+++ b/src/app.rs
@@ -142,8 +142,8 @@ impl App {
pub fn get_append_list(conn: &mut Client) -> AppResult<ContentList<String>> {
let mut list = ContentList::new();
- list.list.push("New Playlist".to_string());
list.list.push("Current Playlist".to_string());
+ list.list.push("New Playlist".to_string());
for item in Self::get_playlist(conn)? {
list.list.push(item.to_string());
}
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,