mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-09-27 19:31:49 +00:00
-Added persisting settings when switching between players.
This commit is contained in:
@@ -342,7 +342,7 @@ public final class MainVideoPlayer extends Activity {
|
||||
context,
|
||||
PopupVideoPlayer.class,
|
||||
this.getPlayQueue(),
|
||||
this.simpleExoPlayer.getRepeatMode(),
|
||||
this.getRepeatMode(),
|
||||
this.getPlaybackSpeed(),
|
||||
this.getPlaybackPitch(),
|
||||
this.getPlaybackQuality()
|
||||
@@ -580,7 +580,7 @@ public final class MainVideoPlayer extends Activity {
|
||||
if (repeatButton == null || shuffleButton == null ||
|
||||
simpleExoPlayer == null || playQueue == null) return;
|
||||
|
||||
setRepeatModeButton(repeatButton, simpleExoPlayer.getRepeatMode());
|
||||
setRepeatModeButton(repeatButton, getRepeatMode());
|
||||
setShuffleButton(shuffleButton, playQueue.isShuffled());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user