mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 12:08:34 +00:00
Ensure view binding is valid after Media Preview animations.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user