Skip to content

Commit

Permalink
Put channel details item last
Browse files Browse the repository at this point in the history
  • Loading branch information
triallax committed Mar 21, 2021
1 parent 2baa26e commit a7c68c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ protected void showStreamDialog(final StreamInfoItem item) {
}

final List<StreamDialogEntry> entries = new ArrayList<>();
entries.add(StreamDialogEntry.show_channel_details)

if (PlayerHolder.getType() != null) {
entries.add(StreamDialogEntry.enqueue);
Expand All @@ -373,6 +372,9 @@ protected void showStreamDialog(final StreamInfoItem item) {
if (KoreUtil.shouldShowPlayWithKodi(context, item.getServiceId())) {
entries.add(StreamDialogEntry.play_with_kodi);
}

entries.add(StreamDialogEntry.show_channel_details)

StreamDialogEntry.setEnabledEntries(entries);

new InfoItemDialog(activity, item, StreamDialogEntry.getCommands(context),
Expand Down

0 comments on commit a7c68c1

Please sign in to comment.