Skip to content

Commit

Permalink
fix images in ViewImageFragment disappearing when switching apps (#4126)
Browse files Browse the repository at this point in the history
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 🤷
  • Loading branch information
connyduck authored Nov 29, 2023
1 parent 6616df4 commit 5dbdce2
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5dbdce2

Please sign in to comment.