diff --git a/app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt b/app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt index db7e4d65a..11c53e6c1 100644 --- a/app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt @@ -103,7 +103,8 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification transition: Transition? ) { view ?: return - ImageProvider.bitmapLruCache.put(url, resource) + val bitmap = resource.copy(resource.config, true) + ImageProvider.bitmapLruCache.put(url, bitmap) binding.verificationCodeImageView.setImageBitmap(resource) }