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