do not cache animated gif thumbnails
This commit is contained in:
parent
29de80ff79
commit
7772577883
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue