Fix swipe refresh not working on empty queue
This commit is contained in:
parent
0b583e4527
commit
60faf91579
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue