From a7b2d2c30665072d99d03338c752e8b853c6d490 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Thu, 4 Oct 2018 08:33:26 -0700 Subject: [PATCH] Fix regression where pressing pause while already paused did not cause a track to resume. --- js/actionCreators/media.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/actionCreators/media.ts b/js/actionCreators/media.ts index 295e9c5b..703fb3b7 100644 --- a/js/actionCreators/media.ts +++ b/js/actionCreators/media.ts @@ -56,7 +56,7 @@ export function pause(): Dispatchable { if (status === MEDIA_STATUS.PLAYING) { dispatch({ type: PAUSE }); } else { - dispatch({ type: PAUSE }); + dispatch({ type: PLAY }); } }; }