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 71634fd7b..ca04c9fc6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -212,9 +212,11 @@ class PhotoFragment : ViewPagerFragment() { } override fun onImageLoadError(p0: java.lang.Exception?) { + background = ColorDrawable(Color.TRANSPARENT) } override fun onPreviewLoadError(p0: java.lang.Exception?) { + background = ColorDrawable(Color.TRANSPARENT) } }) }