updating subsampling once again

This commit is contained in:
tibbi 2019-01-21 22:34:13 +01:00
parent c7c25fc17b
commit 4206447762
2 changed files with 1 additions and 10 deletions

View file

@ -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'

View file

@ -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()
}
}
}
}