fix: Coil3 and Coil2 moment, variable name change

This commit is contained in:
Ahmad Ansori Palembani 2024-05-23 16:14:15 +07:00
parent f47fab793f
commit a3d6ca3ec4
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -44,6 +44,4 @@ val Options.customDecoder: Boolean
private val customDecoderKey = "custom_decoder" private val customDecoderKey = "custom_decoder"
val Options.bitmapConfig: Bitmap.Config val Options.bitmapConfig: Bitmap.Config
get() = parameters.value(bitmapConfigKey) ?: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) Bitmap.Config.HARDWARE else Bitmap.Config.RGB_565 get() = this.config
private val bitmapConfigKey = "bitmap_config"