allow using the PhotoView zoom if loading Subsampling fails
This commit is contained in:
parent
f40543ae3b
commit
c9a084c4e4
1 changed files with 1 additions and 0 deletions
|
@ -322,6 +322,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
}
|
||||
|
||||
override fun onImageLoadError(e: Exception) {
|
||||
view.photo_view.isZoomable = true
|
||||
background = ColorDrawable(Color.TRANSPARENT)
|
||||
beGone()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue