mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Merge pull request #2398 from Bnyro/master
place the chapter time stamps in front of the chapter name
This commit is contained in:
commit
91828959de
@ -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