diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/app.rs | 1 | ||||
| -rwxr-xr-x | src/ui.rs | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,6 @@ impl App { pub fn tick(&mut self) { self.conn.update_status(); self.update_queue(); - // self.browser.update_directory(&mut self.conn).unwrap(); } pub fn quit(&mut self) { @@ -106,6 +106,7 @@ fn draw_queue(frame: &mut Frame, app: &mut App, size: Rect) { let mut queue_state = ListState::default(); let title = Block::default() .title(Title::from("Play Queue".green().bold())) + .title(Title::from(format!("({} items)", app.queue_list.list.len()).bold())) .title( Title::from(format!("Volume: {}%", app.conn.volume).bold().green()) .alignment(Alignment::Right), |
