Merge pull request #2247 from thornbill/cant-stop-wont-stop

Always allow stopping via the action menu
This commit is contained in:
Bill Thornton 2020-12-21 14:16:49 -05:00 committed by GitHub
commit 60cce55204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -556,6 +556,7 @@ import { appRouter } from '../appRouter';
const options = {
play: false,
queue: false,
stopPlayback: true,
clearQueue: true,
positionTo: contextButton
};

View file

@ -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