fix >/< keybinds
This commit is contained in:
parent
8b16d3ea50
commit
51fbf42653
|
|
@ -275,13 +275,17 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> {
|
|||
|
||||
// Play next song
|
||||
KeyCode::Char('>') => {
|
||||
if !app.queue_list.list.is_empty() {
|
||||
app.conn.conn.next()?;
|
||||
}
|
||||
}
|
||||
|
||||
// Play previous song
|
||||
KeyCode::Char('<') => {
|
||||
if !app.queue_list.list.is_empty() {
|
||||
app.conn.conn.prev()?;
|
||||
}
|
||||
}
|
||||
|
||||
// Volume controls
|
||||
KeyCode::Char('=') => {
|
||||
|
|
|
|||
Reference in New Issue