diff options
author | TacoTheDank <SkytkRSfan3895@gmail.com> | 2020-05-29 14:56:35 -0400 |
---|---|---|
committer | TacoTheDank <SkytkRSfan3895@gmail.com> | 2020-07-11 20:06:19 -0400 |
commit | 37f9c08fd9d6a605bfcc393fe74a31a596671596 (patch) | |
tree | 45605fe47645dc7792c830747e69fdb9782b5311 /app | |
parent | a17f24912f262c79d1822e3df389ab08d4cb0273 (diff) | |
download | AntennaPod-37f9c08fd9d6a605bfcc393fe74a31a596671596.zip |
Fix duplicate branches
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java | 5 |
1 files changed, 1 insertions, 4 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 49c53627f..0e13d5a27 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java @@ -136,6 +136,7 @@ public class QueueFragment extends Fragment { recyclerAdapter.notifyItemInserted(event.position); break; case SET_QUEUE: + case SORTED: //Deliberate fall-through queue = event.items; recyclerAdapter.notifyDataSetChanged(); break; @@ -149,10 +150,6 @@ public class QueueFragment extends Fragment { queue.clear(); recyclerAdapter.notifyDataSetChanged(); break; - case SORTED: - queue = event.items; - recyclerAdapter.notifyDataSetChanged(); - break; case MOVED: return; } |