mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
优化
This commit is contained in:
parent
f5702ccbcf
commit
1fa90fff1d
@ -105,7 +105,7 @@ class VerificationCodeDialog() : BaseDialogFragment(R.layout.dialog_verification
|
||||
view ?: return
|
||||
val bitmap = resource.copy(resource.config, true)
|
||||
ImageProvider.bitmapLruCache.put(url, bitmap)
|
||||
binding.verificationCodeImageView.setImageBitmap(resource)
|
||||
binding.verificationCodeImageView.setImageBitmap(bitmap)
|
||||
}
|
||||
|
||||
override fun onLoadCleared(placeholder: Drawable?) {
|
||||
|
Loading…
Reference in New Issue
Block a user