fix share crash

This commit is contained in:
Bnyro 2022-11-19 13:51:55 +01:00
parent 52e1e8b4e4
commit cdf96d8419

View File

@ -352,6 +352,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
// share button
binding.relPlayerShare.setOnClickListener {
if (!this::streams.isInitialized) return@setOnClickListener
val shareDialog =
ShareDialog(
videoId!!,