fix:修复特权卡-gif加载失败问题

This commit is contained in:
Max
2023-11-07 22:44:01 +08:00
parent cf2490b9e2
commit 5909ccbc6c

View File

@@ -434,11 +434,9 @@ class GlideUtils {
Logger.error(TAG, "loadUriGift imageView is null")
return
}
val options = RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE)
getGlideConfig(imageView.context)?.apply {
this.asBitmap()
.load(uri)
.apply(options)
.into(imageView)
}
}