Merge pull request #2482 from Bnyro/master

Fix crash when toggling the video description
This commit is contained in:
Bnyro 2022-12-23 14:38:50 +01:00 committed by GitHub
commit 0920efb215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {