fix #9
This commit is contained in:
parent
f2b9051489
commit
df10c2cf63
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Reference in New Issue