do not cache animated gif thumbnails

This commit is contained in:
tibbi 2017-06-15 22:09:23 +02:00
parent 29de80ff79
commit 7772577883

View file

@ -304,7 +304,7 @@ fun Activity.loadAnimatedGif(path: String, target: MySquareImageView) {
.load(path) .load(path)
.asGif() .asGif()
.signature(getFileSignature(path)) .signature(getFileSignature(path))
.diskCacheStrategy(DiskCacheStrategy.SOURCE) .diskCacheStrategy(DiskCacheStrategy.NONE)
.crossFade() .crossFade()
if (config.cropThumbnails) builder.centerCrop() else builder.fitCenter() if (config.cropThumbnails) builder.centerCrop() else builder.fitCenter()