Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
krolyxon committed Jun 19, 2024
1 parent f2b9051 commit df10c2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down
6 changes: 1 addition & 5 deletions src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit df10c2c

Please sign in to comment.