From ec7cffcfd14d724d4720d0002649fdeabbe8f503 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Fri, 18 Dec 2020 14:31:40 -0500 Subject: [PATCH] Always allow stopping via the action menu --- src/components/nowPlayingBar/nowPlayingBar.js | 1 + src/components/remotecontrol/remotecontrol.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index 2613b5a85..cbeb9813d 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -556,6 +556,7 @@ import { appRouter } from '../appRouter'; const options = { play: false, queue: false, + stopPlayback: true, clearQueue: true, positionTo: contextButton }; diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index dec95a470..49fb8370c 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -209,11 +209,10 @@ function updateNowPlayingInfo(context, state, serverId) { if (autoFocusContextButton) { contextButton.focus(); } - const stopPlayback = !!layoutManager.mobile; const options = { play: false, queue: false, - stopPlayback: stopPlayback, + stopPlayback: true, clearQueue: true, openAlbum: false, positionTo: contextButton