This commit is contained in:
Bnyro 2022-07-09 19:25:55 +02:00
parent 1202049d7b
commit 3a18967521

View File

@ -991,8 +991,9 @@ class PlayerFragment : Fragment() {
} }
Log.e(TAG, chapterName.toString()) Log.e(TAG, chapterName.toString())
// change the chapter name textView text to the chapterName // change the chapter name textView text to the chapterName
if (chapterName != null && chapterName != playerBinding.chapterName.text) if (chapterName != null && chapterName != playerBinding.chapterName.text) {
playerBinding.chapterName.text = chapterName playerBinding.chapterName.text = chapterName
}
} }
private fun setMediaSource( private fun setMediaSource(