mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 09:54:25 +00:00
Fix toggling in SpircCommand::PlayPause
Fix play/pause toggling in handle_play_pause() to correctly call handled_play()/handle_pause() based on the state.
This commit is contained in:
parent
45f4276d68
commit
392a12af92
1 changed files with 1 additions and 1 deletions
|
|
@ -828,7 +828,7 @@ impl SpircTask {
|
|||
self.handle_play()
|
||||
}
|
||||
SpircPlayStatus::Playing { .. } | SpircPlayStatus::LoadingPlay { .. } => {
|
||||
self.handle_play()
|
||||
self.handle_pause()
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue