mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
place the chapter time stamps in front of the chapter name
This commit is contained in:
parent
9dddf7851d
commit
4d601f98d4
@ -1047,7 +1047,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
|
|||||||
|
|
||||||
// enable the chapters dialog in the player
|
// enable the chapters dialog in the player
|
||||||
val titles = chapters.map { chapter ->
|
val titles = chapters.map { chapter ->
|
||||||
"${chapter.title} (${chapter.start?.let { DateUtils.formatElapsedTime(it) }})"
|
"(${chapter.start?.let { DateUtils.formatElapsedTime(it) }}) ${chapter.title}"
|
||||||
}
|
}
|
||||||
playerBinding.chapterLL.setOnClickListener {
|
playerBinding.chapterLL.setOnClickListener {
|
||||||
if (viewModel.isFullscreen.value!!) {
|
if (viewModel.isFullscreen.value!!) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user