1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-08 08:55:15 +01:00

Update LocalPlaylistFragment.java

This commit is contained in:
dotvirus 2019-09-16 20:22:55 +02:00 committed by TobiGr
parent 61f64a7349
commit de19421de1

View File

@ -325,6 +325,16 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
headerBackgroundButton.setOnClickListener(view ->
NavigationHelper.playOnBackgroundPlayer(activity, getPlayQueue(), false));
headerPopupButton.setOnLongClickListener(view -> {
NavigationHelper.enqueueOnPopupPlayer(activity, getPlayQueue(), true);
return true;
});
headerBackgroundButton.setOnLongClickListener(view -> {
NavigationHelper.enqueueOnBackgroundPlayer(activity, getPlayQueue(), true);
return true;
});
hideLoading();
}