diff --git a/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt index 2f728121d..2685b9b0b 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt @@ -89,11 +89,8 @@ class PlayingQueueSheet : ExpandedBottomSheet() { val from = viewHolder.absoluteAdapterPosition val to = target.absoluteAdapterPosition - val currentPosition = PlayingQueue.currentIndex() - if (to <= currentPosition) return false - - adapter.notifyItemMoved(from, to) PlayingQueue.move(from, to) + adapter.notifyItemMoved(from, to) return true }