mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-27 09:01:22 +01:00
Allow to add to queue from downloads section
This commit is contained in:
parent
3375fe0a24
commit
235b81d40a
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user