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 🤷
This commit is contained in:
Konrad Pozniak 2023-11-29 18:39:10 +01:00 committed by GitHub
parent 6616df4a82
commit 5dbdce2e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

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