summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTacoTheDank <SkytkRSfan3895@gmail.com>2020-05-29 14:56:35 -0400
committerTacoTheDank <SkytkRSfan3895@gmail.com>2020-07-11 20:06:19 -0400
commit37f9c08fd9d6a605bfcc393fe74a31a596671596 (patch)
tree45605fe47645dc7792c830747e69fdb9782b5311 /app
parenta17f24912f262c79d1822e3df389ab08d4cb0273 (diff)
downloadAntennaPod-37f9c08fd9d6a605bfcc393fe74a31a596671596.zip
Fix duplicate branches
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/QueueFragment.java5
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;
}