Fix that queue doesn't regenerate

This commit is contained in:
Bnyro 2023-01-16 15:09:35 +01:00
parent 905a0e9ac2
commit 2ce5c79728

View File

@ -250,8 +250,11 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
super.onViewCreated(view, savedInstanceState)
context?.hideKeyboard(view)
// reset the callbacks of the playing queue
PlayingQueue.resetToDefaults()
// clear the playing queue
if (!keepQueue) PlayingQueue.resetToDefaults()
if (!keepQueue) PlayingQueue.clear()
changeOrientationMode()