Fix regression where pressing pause while already paused did not cause

a track to resume.
This commit is contained in:
Jordan Eldredge 2018-10-04 08:33:26 -07:00
parent 4f48ebb89e
commit a7b2d2c306

View file

@ -56,7 +56,7 @@ export function pause(): Dispatchable {
if (status === MEDIA_STATUS.PLAYING) {
dispatch({ type: PAUSE });
} else {
dispatch({ type: PAUSE });
dispatch({ type: PLAY });
}
};
}