Fix crash in ViewVideoFragment (#1894)
This commit is contained in:
parent
1f6658f57e
commit
a653c92e63
|
@ -174,7 +174,7 @@ class ViewVideoFragment : ViewMediaFragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onToolbarVisibilityChange(visible: Boolean) {
|
override fun onToolbarVisibilityChange(visible: Boolean) {
|
||||||
if (videoView == null || !userVisibleHint) {
|
if (videoView == null || mediaDescription == null || !userVisibleHint) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue