fix bug where static webp images will cause high CPU usage

This commit is contained in:
gmasil 2023-08-25 00:38:35 +02:00
parent 6271ed4af4
commit f8c09b947f
No known key found for this signature in database
GPG key ID: 135FC0B941F3ECC7

View file

@ -435,7 +435,6 @@ class PhotoFragment : ViewPagerFragment() {
if (drawable.intrinsicWidth == 0) {
loadWithGlide(path, addZoomableView)
} else {
drawable.setLoopLimit(0)
mView.gestures_view.setImageDrawable(drawable)
}
} else {