allow using the PhotoView zoom if loading Subsampling fails

This commit is contained in:
tibbi 2018-08-08 16:05:06 +02:00
parent f40543ae3b
commit c9a084c4e4

View file

@ -322,6 +322,7 @@ class PhotoFragment : ViewPagerFragment() {
} }
override fun onImageLoadError(e: Exception) { override fun onImageLoadError(e: Exception) {
view.photo_view.isZoomable = true
background = ColorDrawable(Color.TRANSPARENT) background = ColorDrawable(Color.TRANSPARENT)
beGone() beGone()
} }