Ensure view binding is valid after Media Preview animations.
This commit is contained in:
parent
f8520d83be
commit
aba51da932
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class MediaPreviewV2Fragment : Fragment(R.layout.fragment_media_preview_v2), Med
|
|||
view.visibility = VISIBLE
|
||||
}
|
||||
.withEndAction {
|
||||
if (view == binding.mediaPreviewPlaybackControls.recyclerView) {
|
||||
if (getView() != null && view == binding.mediaPreviewPlaybackControls.recyclerView) {
|
||||
scrollAlbumRailToCurrentAdapterPosition()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue