mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
set isSubsamplingVisible to false at some errors too
This commit is contained in:
parent
1110c80b66
commit
f95da6b83a
1 changed files with 2 additions and 0 deletions
|
@ -391,11 +391,13 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
override fun onImageLoadError(e: Exception) {
|
||||
view.photo_view.isZoomable = true
|
||||
background = ColorDrawable(Color.TRANSPARENT)
|
||||
isSubsamplingVisible = false
|
||||
beGone()
|
||||
}
|
||||
|
||||
override fun onPreviewLoadError(e: Exception?) {
|
||||
background = ColorDrawable(Color.TRANSPARENT)
|
||||
isSubsamplingVisible = false
|
||||
beGone()
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue