diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 47f78b822..4263b1110 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -391,11 +391,13 @@ class PhotoFragment : ViewPagerFragment() { override fun onImageLoadError(e: Exception) { view.photo_view.isZoomable = true background = ColorDrawable(Color.TRANSPARENT) + isSubsamplingVisible = false beGone() } override fun onPreviewLoadError(e: Exception?) { background = ColorDrawable(Color.TRANSPARENT) + isSubsamplingVisible = false beGone() } })