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 17e6cb52f..63cd99e2a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -178,6 +178,9 @@ class PhotoFragment : ViewPagerFragment() { } catch (e: Exception) { gifDrawable = null loadBitmap() + } catch (e: OutOfMemoryError) { + gifDrawable = null + loadBitmap() } }