diff --git a/app/src/main/kotlin/org/akanework/gramophone/ui/adapters/BaseDecorAdapter.kt b/app/src/main/kotlin/org/akanework/gramophone/ui/adapters/BaseDecorAdapter.kt index d94336062..c1b72d7ee 100644 --- a/app/src/main/kotlin/org/akanework/gramophone/ui/adapters/BaseDecorAdapter.kt +++ b/app/src/main/kotlin/org/akanework/gramophone/ui/adapters/BaseDecorAdapter.kt @@ -34,7 +34,6 @@ import org.akanework.gramophone.R import org.akanework.gramophone.logic.ui.ItemHeightHelper import org.akanework.gramophone.logic.ui.MyRecyclerView import org.akanework.gramophone.ui.getAdapterType -import kotlin.random.Random open class BaseDecorAdapter>( protected val adapter: T, @@ -178,7 +177,6 @@ open class BaseDecorAdapter>( controller?.shuffleModeEnabled = true list.takeIf { it.isNotEmpty() }?.also { controller?.setMediaItems(it) - controller?.seekToDefaultPosition(Random.nextInt(0, it.size)) controller?.prepare() controller?.play() } ?: controller?.setMediaItems(listOf())