mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
do not cache animated gif thumbnails
This commit is contained in:
parent
29de80ff79
commit
7772577883
@ -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…
x
Reference in New Issue
Block a user