diff --git a/app/build.gradle b/app/build.gradle index 0fd7e1e1c..483af0231 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -71,7 +71,7 @@ dependencies { implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.caverock:androidsvg-aar:1.3' implementation 'com.github.tibbi:gestureviews:57844bb1d5' - implementation 'com.github.tibbi:subsampling-scale-image-view:e1fba2b780' + implementation 'com.github.tibbi:subsampling-scale-image-view:af4c407c99' kapt 'com.github.bumptech.glide:compiler:4.8.0' // keep it here too, not just in Commons, else loading SVGs wont work kapt 'androidx.room:room-compiler:2.0.0' 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 6bd8dc105..5c4ac8965 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 @@ -464,21 +464,12 @@ class PhotoFragment : ViewPagerFragment() { override fun onTileLoadError(e: Exception) { } - override fun onPreviewReleased() { - } - override fun onImageLoadError(e: Exception) { mView.gestures_view.controller.settings.isZoomEnabled = true background = ColorDrawable(Color.TRANSPARENT) mIsSubsamplingVisible = false beGone() } - - override fun onPreviewLoadError(e: Exception) { - background = ColorDrawable(Color.TRANSPARENT) - mIsSubsamplingVisible = false - beGone() - } } } }