Merge pull request #2398 from Bnyro/master

place the chapter time stamps in front of the chapter name
This commit is contained in:
Bnyro 2022-12-16 15:25:05 +01:00 committed by GitHub
commit 91828959de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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!!) {