1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 00:50:32 +00:00

Update PlaylistFragment.java

This commit is contained in:
dotvirus 2019-01-18 23:58:24 +01:00
parent 28e5ee51ec
commit c0aca723da

View File

@ -306,12 +306,14 @@ public class PlaylistFragment extends BaseListInfoFragment<PlaylistInfo> {
headerBackgroundButton.setOnClickListener(view -> headerBackgroundButton.setOnClickListener(view ->
NavigationHelper.playOnBackgroundPlayer(activity, getPlayQueue())); NavigationHelper.playOnBackgroundPlayer(activity, getPlayQueue()));
headerBackgroundButton.setOnLongClickListener(new View.OnLongClickListener() { headerPopupButton.setOnLongClickListener(view -> {
@Override NavigationHelper.enqueueOnPopupPlayer(activity, getPlayQueue());
public boolean onLongClick(View v) { return true;
});
headerBackgroundButton.setOnLongClickListener(view -> {
NavigationHelper.enqueueOnBackgroundPlayer(activity, getPlayQueue()); NavigationHelper.enqueueOnBackgroundPlayer(activity, getPlayQueue());
return true; return true;
}
}); });
} }