mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-27 12:03:52 +00:00
Fix regression where pressing pause while already paused did not cause
a track to resume.
This commit is contained in:
parent
4f48ebb89e
commit
a7b2d2c306
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export function pause(): Dispatchable {
|
|||
if (status === MEDIA_STATUS.PLAYING) {
|
||||
dispatch({ type: PAUSE });
|
||||
} else {
|
||||
dispatch({ type: PAUSE });
|
||||
dispatch({ type: PLAY });
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue