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:
parent
6616df4a82
commit
5dbdce2e2f
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue