Browse Source

fix images in ViewImageFragment disappearing when switching apps (#4126)

I tried to ind out why the imageview was cleared here but to no avail.
Removing it also doesn't seems to have unwanted sideeffects 🤷
pull/4093/head
Konrad Pozniak 2 years ago committed by GitHub
parent
commit
5dbdce2e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt

5
app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt

@ -237,11 +237,6 @@ class ViewImageFragment : ViewMediaFragment() {
.start()
}
override fun onStop() {
super.onStop()
Glide.with(this).clear(binding.photoView)
}
override fun onDestroyView() {
transition.onComplete()
super.onDestroyView()

Loading…
Cancel
Save