Merge pull request #3456 from Stypox/enqueue-channel

Enqueue on long click on background/popup in channel
pull/3460/head
Tobias Groza 2020-04-19 11:41:12 +02:00 zatwierdzone przez GitHub
commit f066da23c5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -465,6 +465,16 @@ public class ChannelFragment extends BaseListInfoFragment<ChannelInfo> {
.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() {