place the chapter time stamps in front of the chapter name

This commit is contained in:
Bnyro 2022-12-16 15:24:43 +01:00
parent 9dddf7851d
commit 4d601f98d4

View File

@ -1047,7 +1047,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
// enable the chapters dialog in the player
val titles = chapters.map { chapter ->
"${chapter.title} (${chapter.start?.let { DateUtils.formatElapsedTime(it) }})"
"(${chapter.start?.let { DateUtils.formatElapsedTime(it) }}) ${chapter.title}"
}
playerBinding.chapterLL.setOnClickListener {
if (viewModel.isFullscreen.value!!) {