diff options
author | ByteHamster <info@bytehamster.com> | 2019-08-30 14:25:28 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-08-30 14:26:57 +0200 |
commit | e58dbfbd15f71e72904bcab85461e7c7c6a580ed (patch) | |
tree | 97d9528f7d5d65df67ce67b0952689c3afb5b82b /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | b74c6083c0eded15758b73514e3f6cecfa3f3ba7 (diff) | |
download | AntennaPod-e58dbfbd15f71e72904bcab85461e7c7c6a580ed.zip |
Allow to delete currently playing media
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/DownloadedEpisodesListAdapter.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/DownloadedEpisodesListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/DownloadedEpisodesListAdapter.java index cd636af43..98d55dd97 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/DownloadedEpisodesListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/DownloadedEpisodesListAdapter.java @@ -100,14 +100,6 @@ public class DownloadedEpisodesListAdapter extends BaseAdapter { String pubDateStr = DateUtils.formatAbbrev(context, item.getPubDate()); holder.pubDate.setText(pubDateStr); - FeedItem.State state = item.getState(); - if (state == FeedItem.State.PLAYING && PlaybackService.isRunning) { - holder.butSecondary.setEnabled(false); - holder.butSecondary.setAlpha(0.5f); - } else { - holder.butSecondary.setEnabled(true); - holder.butSecondary.setAlpha(1.0f); - } holder.butSecondary.setFocusable(false); holder.butSecondary.setTag(item); holder.butSecondary.setOnClickListener(secondaryActionListener); |