Merge pull request #2763 from ByteHamster/download-actions
Allow to add to queue from downloads section
This commit is contained in:
commit
740e202d7f
|
@ -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…
Reference in New Issue