From ff99d19176ecb56dda2c83038d4a3ccd9792023b Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 5 Nov 2019 11:07:31 +0100 Subject: [PATCH] make exception at Picasso onError image loading nullable --- .../simplemobiletools/gallery/pro/fragments/PhotoFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt index d811a6b23..60d85a7aa 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt @@ -444,7 +444,7 @@ class PhotoFragment : ViewPagerFragment() { } } - override fun onError(e: Exception) {} + override fun onError(e: Exception?) {} }) } catch (ignored: Exception) { }