Queue context menu refactor - hide Skip Episode (same as pre-refactor behavior)

This commit is contained in:
orionlee 2019-09-23 03:55:58 -07:00
parent 27ce3c85c4
commit 931c670398
1 changed files with 3 additions and 1 deletions

View File

@ -184,7 +184,9 @@ public class QueueRecyclerAdapter extends RecyclerView.Adapter<QueueRecyclerAdap
item1.setVisible(visible); item1.setVisible(visible);
} }
}; };
FeedItemMenuHandler.onPrepareMenu(contextMenuInterface, item, true);
FeedItemMenuHandler.onPrepareMenu(contextMenuInterface, item, true,
R.id.skip_episode_item); // Skip Episode is not useful in Queue, so hide it.
// Queue-specific menu preparation // Queue-specific menu preparation
final boolean keepSorted = UserPreferences.isQueueKeepSorted(); final boolean keepSorted = UserPreferences.isQueueKeepSorted();
final LongList queueAccess = itemAccess.getQueueIds(); final LongList queueAccess = itemAccess.getQueueIds();