mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
set isSubsamplingVisible to false at some errors too
This commit is contained in:
@ -391,11 +391,13 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
override fun onImageLoadError(e: Exception) {
|
override fun onImageLoadError(e: Exception) {
|
||||||
view.photo_view.isZoomable = true
|
view.photo_view.isZoomable = true
|
||||||
background = ColorDrawable(Color.TRANSPARENT)
|
background = ColorDrawable(Color.TRANSPARENT)
|
||||||
|
isSubsamplingVisible = false
|
||||||
beGone()
|
beGone()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onPreviewLoadError(e: Exception?) {
|
override fun onPreviewLoadError(e: Exception?) {
|
||||||
background = ColorDrawable(Color.TRANSPARENT)
|
background = ColorDrawable(Color.TRANSPARENT)
|
||||||
|
isSubsamplingVisible = false
|
||||||
beGone()
|
beGone()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user