mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Coil3 and Coil2 moment, variable name change
This commit is contained in:
parent
f47fab793f
commit
a3d6ca3ec4
1 changed files with 1 additions and 3 deletions
|
@ -44,6 +44,4 @@ val Options.customDecoder: Boolean
|
|||
private val customDecoderKey = "custom_decoder"
|
||||
|
||||
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
|
||||
|
||||
private val bitmapConfigKey = "bitmap_config"
|
||||
get() = this.config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue