diff options
author | Johannes Henninger <jhenninger@users.noreply.github.com> | 2021-07-17 14:10:16 +0200 |
---|---|---|
committer | Johannes Henninger <jhenninger@users.noreply.github.com> | 2021-07-17 14:10:16 +0200 |
commit | 60faf915798e123ddd98f92f4c525040644553a1 (patch) | |
tree | 553c7a42586a6c0f1197656ebf07441f6e096acd /app | |
parent | 0b583e452768d5517d4951def0f023ab63fa2048 (diff) | |
download | AntennaPod-60faf915798e123ddd98f92f4c525040644553a1.zip |
Fix swipe refresh not working on empty queue
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java index 31681252a..a89ad204b 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java @@ -500,7 +500,7 @@ public class QueueFragment extends Fragment implements Toolbar.OnMenuItemClickLi } private void onFragmentLoaded(final boolean restoreScrollPosition) { - if (queue != null && queue.size() > 0) { + if (queue != null) { if (recyclerAdapter == null) { MainActivity activity = (MainActivity) getActivity(); recyclerAdapter = new QueueRecyclerAdapter(activity, swipeActions); |