Skip to content
Snippets Groups Projects
Commit db30a301 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Fix video player playlist drag and drop regression

Fixes #1045

(cherry picked from commit 45eac0ba)
parent 12b49ba0
No related branches found
No related tags found
No related merge requests found
......@@ -811,7 +811,7 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
hudRightBinding.playlistToggle.setOnClickListener(this@VideoPlayerActivity)
closeButton.setOnClickListener { togglePlaylist() }
val callback = SwipeDragItemTouchHelperCallback(playlistAdapter)
val callback = SwipeDragItemTouchHelperCallback(playlistAdapter, true)
val touchHelper = ItemTouchHelper(callback)
touchHelper.attachToRecyclerView(playlist)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment