pull/2729/head
Horis 2 years ago
parent 43b10666d1
commit f5702ccbcf
  1. 3
      app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt

@ -103,7 +103,8 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
transition: Transition<in Bitmap>? transition: Transition<in Bitmap>?
) { ) {
view ?: return view ?: return
ImageProvider.bitmapLruCache.put(url, resource) val bitmap = resource.copy(resource.config, true)
ImageProvider.bitmapLruCache.put(url, bitmap)
binding.verificationCodeImageView.setImageBitmap(resource) binding.verificationCodeImageView.setImageBitmap(resource)
} }

Loading…
Cancel
Save