use low priority for loading png thumbnails too

This commit is contained in:
tibbi 2019-05-16 08:33:47 +02:00
parent e81ea4a89a
commit bd97796d4e

View file

@ -497,6 +497,7 @@ fun Context.loadPng(path: String, target: MySquareImageView, cropThumbnails: Boo
.signature(path.getFileSignature())
.skipMemoryCache(skipMemoryCacheAtPaths?.contains(path) == true)
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
.priority(Priority.LOW)
.format(DecodeFormat.PREFER_ARGB_8888)
val builder = Glide.with(applicationContext)