diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-04-28 16:42:50 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-04-28 16:42:50 +0530 |
| commit | 6e631a0520053c7d3435a193f61e89e695c91f08 (patch) | |
| tree | 17d3d080c2e3afcfeb30e8ed3e4fd01e1ae22f6e /src/ui.rs | |
| parent | 5eafc1898bf41ce2e6d3a634724f9443546af614 (diff) | |
add unadded songs to queue on <space>
Diffstat (limited to 'src/ui.rs')
| -rwxr-xr-x | src/ui.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -62,9 +62,9 @@ fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) { } } if status { - list.push(ListItem::new(s.clone().bold())); + list.push(ListItem::new(s.clone().magenta().bold())); } else { - list.push(ListItem::new(Line::styled(s, Style::default()))); + list.push(ListItem::new(s.clone())); } } else { list.push(ListItem::new(Line::styled( @@ -115,7 +115,7 @@ fn draw_queue(frame: &mut Frame, app: &mut App, size: Rect) { let mut items: Vec<ListItem> = vec![]; for item in app.queue_list.list.iter() { if item.contains(&app.conn.current_song.file) { - items.push(ListItem::new(item.clone().bold())) + items.push(ListItem::new(item.clone().magenta().bold())) } else { items.push(ListItem::new(item.clone())); } |
