Skip to content

Commit

Permalink
Merge pull request #3456 from Stypox/enqueue-channel
Browse files Browse the repository at this point in the history
Enqueue on long click on background/popup in channel
  • Loading branch information
TobiGr authored Apr 19, 2020
2 parents d7d45fb + 34aa3d3 commit f066da2
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,16 @@ public void handleResult(@NonNull final ChannelInfo result) {
.playOnPopupPlayer(activity, getPlayQueue(), false));
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;
});
}

private void showContentNotSupported() {
Expand Down

0 comments on commit f066da2

Please sign in to comment.