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

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 {