diff --git a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt index e4e8a6645..8ff421e77 100644 --- a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt @@ -991,8 +991,9 @@ class PlayerFragment : Fragment() { } Log.e(TAG, chapterName.toString()) // 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 + } } private fun setMediaSource(