Fix crash when toggling the video description

This commit is contained in:
Bnyro 2022-12-23 14:38:22 +01:00
parent cace5b5569
commit f067987992

View File

@ -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 {