Merge pull request #1984 from mfietz/issue/1969-queue-remove-playing

Queue: Allow removal of playing/paused episode via context menu
This commit is contained in:
Martin Fietz 2016-06-06 16:30:19 +02:00
commit c921eba523

View File

@ -80,7 +80,7 @@ public class FeedItemMenuHandler {
if(queueAccess == null || queueAccess.size() == 0 || queueAccess.get(queueAccess.size()-1) == selectedItem.getId()) {
mi.setItemVisibility(R.id.move_to_bottom_item, false);
}
if (!isInQueue || isPlaying) {
if (!isInQueue) {
mi.setItemVisibility(R.id.remove_from_queue_item, false);
}
if (!(!isInQueue && selectedItem.getMedia() != null)) {