From 60faf915798e123ddd98f92f4c525040644553a1 Mon Sep 17 00:00:00 2001 From: Johannes Henninger Date: Sat, 17 Jul 2021 14:10:16 +0200 Subject: [PATCH] Fix swipe refresh not working on empty queue --- .../main/java/de/danoeh/antennapod/fragment/QueueFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);