1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-24 20:07:39 +00:00

fix(playback): handle long-press on “Play All” button for issue #12433

This commit is contained in:
Howar
2025-10-09 21:07:23 +11:00
parent 965eea2124
commit 0ebd01e65e

View File

@@ -50,6 +50,10 @@ public final class PlayButtonHelper {
});
// long click listener
playlistControlBinding.playlistCtrlPlayAllButton.setOnLongClickListener(view -> {
NavigationHelper.enqueueOnPlayer(activity, fragment.getPlayQueue(), PlayerType.MAIN);
return true;
});
playlistControlBinding.playlistCtrlPlayPopupButton.setOnLongClickListener(view -> {
NavigationHelper.enqueueOnPlayer(activity, fragment.getPlayQueue(), PlayerType.POPUP);
return true;