diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 85e373764..ca8c6feae 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -323,7 +323,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions { // video description and chapters toggle binding.playerTitleLayout.setOnClickListener { - toggleDescription() + if (this::streams.isInitialized) toggleDescription() } binding.commentsToggle.setOnClickListener {