fix another crash in ViewVideoFragment (#1926)

This commit is contained in:
Konrad Pozniak 2020-09-03 20:17:11 +02:00 committed by GitHub
parent 67225dd4c0
commit 67df1a7065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,7 +189,7 @@ class ViewVideoFragment : ViewMediaFragment() {
mediaDescription.animate().alpha(alpha) mediaDescription.animate().alpha(alpha)
.setListener(object : AnimatorListenerAdapter() { .setListener(object : AnimatorListenerAdapter() {
override fun onAnimationEnd(animation: Animator) { override fun onAnimationEnd(animation: Animator) {
mediaDescription.visible(isDescriptionVisible) mediaDescription?.visible(isDescriptionVisible)
animation.removeListener(this) animation.removeListener(this)
} }
}) })