diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2018-07-13 17:27:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 17:27:54 +0200 |
commit | 740e202d7f1a2279c2b3e1fb5c3bdab9829818a3 (patch) | |
tree | 463ad5bb76aa9bee6898eff345f33cbdd84cb7ab /app | |
parent | 5566b28943608ec9824783d10e3a1754e1a25e9d (diff) | |
parent | 235b81d40affcf7127c34bfe8014a83481678cae (diff) | |
download | AntennaPod-740e202d7f1a2279c2b3e1fb5c3bdab9829818a3.zip |
Merge pull request #2763 from ByteHamster/download-actions
Allow to add to queue from downloads section
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 2 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index 10ce12771..d1ee926ac 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -34,7 +34,7 @@ public class EpisodesApplyActionFragment extends Fragment { public static final String TAG = "EpisodeActionFragment"; - private static final int ACTION_QUEUE = 1; + public static final int ACTION_QUEUE = 1; private static final int ACTION_MARK_PLAYED = 2; private static final int ACTION_MARK_UNPLAYED = 4; private static final int ACTION_DOWNLOAD = 8; diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java index f59bc88bf..f6d503b29 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java @@ -149,7 +149,7 @@ public class CompletedDownloadsFragment extends ListFragment { switch (item.getItemId()) { case R.id.episode_actions: EpisodesApplyActionFragment fragment = EpisodesApplyActionFragment - .newInstance(items, EpisodesApplyActionFragment.ACTION_REMOVE); + .newInstance(items, EpisodesApplyActionFragment.ACTION_REMOVE | EpisodesApplyActionFragment.ACTION_QUEUE); ((MainActivity) getActivity()).loadChildFragment(fragment); return true; default: |