mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #605 from flaktack/spirc-command-play-pause
Fix state toggling in SpircCommand::PlayPause
This commit is contained in:
commit
2060901c1e
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ impl SpircTask {
|
||||||
self.handle_play()
|
self.handle_play()
|
||||||
}
|
}
|
||||||
SpircPlayStatus::Playing { .. } | SpircPlayStatus::LoadingPlay { .. } => {
|
SpircPlayStatus::Playing { .. } | SpircPlayStatus::LoadingPlay { .. } => {
|
||||||
self.handle_play()
|
self.handle_pause()
|
||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue