1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01:00

Fixing the shuffle button on the UI is enough.

No need for doing the heavier method ``onShuffleModeEnabledChanged(false);``
This commit is contained in:
litetex 2021-10-23 16:46:56 +02:00
parent cf81c37683
commit d66f933c69

View File

@ -774,7 +774,8 @@ public final class Player implements
destroyPlayer();
initPlayer(playOnReady);
setRepeatMode(repeatMode);
onShuffleModeEnabledChanged(false);
// #6825 - Ensure that the shuffle-button is in the correct state on the UI
setShuffleButton(binding.shuffleButton, simpleExoPlayer.getShuffleModeEnabled());
setPlaybackParameters(playbackSpeed, playbackPitch, playbackSkipSilence);
playQueue = queue;