mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -103,7 +103,8 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
|
||||
transition: Transition<in Bitmap>?
|
||||
) {
|
||||
view ?: return
|
||||
ImageProvider.bitmapLruCache.put(url, resource)
|
||||
val bitmap = resource.copy(resource.config, true)
|
||||
ImageProvider.bitmapLruCache.put(url, bitmap)
|
||||
binding.verificationCodeImageView.setImageBitmap(resource)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user