mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
fix share crash
This commit is contained in:
parent
52e1e8b4e4
commit
cdf96d8419
@ -352,6 +352,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
|
|||||||
|
|
||||||
// share button
|
// share button
|
||||||
binding.relPlayerShare.setOnClickListener {
|
binding.relPlayerShare.setOnClickListener {
|
||||||
|
if (!this::streams.isInitialized) return@setOnClickListener
|
||||||
val shareDialog =
|
val shareDialog =
|
||||||
ShareDialog(
|
ShareDialog(
|
||||||
videoId!!,
|
videoId!!,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user