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

@ -105,7 +105,7 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
view ?: return view ?: return
val bitmap = resource.copy(resource.config, true) val bitmap = resource.copy(resource.config, true)
ImageProvider.bitmapLruCache.put(url, bitmap) ImageProvider.bitmapLruCache.put(url, bitmap)
binding.verificationCodeImageView.setImageBitmap(resource) binding.verificationCodeImageView.setImageBitmap(bitmap)
} }
override fun onLoadCleared(placeholder: Drawable?) { override fun onLoadCleared(placeholder: Drawable?) {

Loading…
Cancel
Save