diff options
author | ByteHamster <info@bytehamster.com> | 2022-10-23 20:41:48 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-10-23 20:41:48 +0200 |
commit | 2e54fa69813e8f6cfcdb9622e50964809c981afc (patch) | |
tree | f9ca88fc41dfdd01cffff30c8224acf1f1d4d910 /app | |
parent | 655b880c464094d7147ae079a8d206f71eb31e42 (diff) | |
download | AntennaPod-2e54fa69813e8f6cfcdb9622e50964809c981afc.zip |
Fix queue sort order not being displayed
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java | 4 |
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; |