mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
allow using the PhotoView zoom if loading Subsampling fails
This commit is contained in:
@ -322,6 +322,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
}
|
||||
|
||||
override fun onImageLoadError(e: Exception) {
|
||||
view.photo_view.isZoomable = true
|
||||
background = ColorDrawable(Color.TRANSPARENT)
|
||||
beGone()
|
||||
}
|
||||
|
Reference in New Issue
Block a user