aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-04-28 16:42:50 +0530
committerkrolxon <krolyxon@tutanota.com>2024-04-28 16:42:50 +0530
commit6e631a0520053c7d3435a193f61e89e695c91f08 (patch)
tree17d3d080c2e3afcfeb30e8ed3e4fd01e1ae22f6e /src/ui.rs
parent5eafc1898bf41ce2e6d3a634724f9443546af614 (diff)
add unadded songs to queue on <space>
Diffstat (limited to 'src/ui.rs')
-rwxr-xr-xsrc/ui.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.rs b/src/ui.rs
index d2066ad..c25d913 100755
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -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()));
}