From b249c6715a7f287dc6f66c23b51f2f6d23f639cb Mon Sep 17 00:00:00 2001 From: mister-ben Date: Mon, 11 Dec 2023 11:22:54 +0000 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André <34163393+amtins@users.noreply.github.com> --- src/js/mediasession.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/mediasession.js b/src/js/mediasession.js index b156b98d06..0c75d94fc3 100644 --- a/src/js/mediasession.js +++ b/src/js/mediasession.js @@ -122,7 +122,7 @@ export const initMediaSession = function() { ms.playbackState = 'playing'; }); - this.on('paused', () => { + this.on('pause', () => { ms.playbackState = 'paused'; });