summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-10-23 21:50:25 +0200
committerGitHub <noreply@github.com>2022-10-23 21:50:25 +0200
commit892b499687f8d394fd9380b05168924e581fca97 (patch)
treef9ca88fc41dfdd01cffff30c8224acf1f1d4d910
parent655b880c464094d7147ae079a8d206f71eb31e42 (diff)
parent2e54fa69813e8f6cfcdb9622e50964809c981afc (diff)
downloadAntennaPod-892b499687f8d394fd9380b05168924e581fca97.zip
Merge pull request #6159 from ByteHamster/fix-queue-sort
Fix queue sort order not being displayed
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java4
1 files changed, 2 insertions, 2 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 6cc914cd6..aa90e7285 100644
--- a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java
@@ -144,7 +144,7 @@ public class QueueFragment extends Fragment implements MaterialToolbar.OnMenuIte
case SET_QUEUE:
case SORTED: //Deliberate fall-through
queue = event.items;
- recyclerAdapter.notifyDataSetChanged();
+ recyclerAdapter.updateItems(event.items);
break;
case REMOVED:
case IRREVERSIBLE_REMOVED:
@@ -154,7 +154,7 @@ public class QueueFragment extends Fragment implements MaterialToolbar.OnMenuIte
break;
case CLEARED:
queue.clear();
- recyclerAdapter.notifyDataSetChanged();
+ recyclerAdapter.updateItems(queue);
break;
case MOVED:
return;