fix:不缓存验证码bitmap

pull/1852/head
Xwite 3 years ago
parent ef9391b137
commit ffba859da7
  1. 1
      app/src/main/java/io/legado/app/ui/association/VerificationCodeDialog.kt

@ -59,6 +59,7 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
} }
}.error(R.drawable.image_loading_error) }.error(R.drawable.image_loading_error)
.diskCacheStrategy(DiskCacheStrategy.NONE) .diskCacheStrategy(DiskCacheStrategy.NONE)
.skipMemoryCache(true)
.into(verificationCodeImageView) .into(verificationCodeImageView)
verificationCodeImageView.setOnClickListener { verificationCodeImageView.setOnClickListener {
showDialogFragment(PhotoDialog(imageUrl, sourceOrigin)) showDialogFragment(PhotoDialog(imageUrl, sourceOrigin))

Loading…
Cancel
Save