fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07 (#960)

* fix(deps): update dependency io.coil-kt.coil3:coil-bom to v3.0.0-alpha07

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2024-06-30 01:44:17 +06:00
committed by GitHub
parent 80cdebcdf4
commit c0f9de88e7
11 changed files with 15 additions and 4 deletions
@@ -4,7 +4,7 @@ import android.graphics.Bitmap
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.Drawable
import androidx.core.graphics.drawable.toBitmap
import coil3.gif.ScaleDrawable
import coil3.size.ScaleDrawable
fun Drawable.getBitmapOrNull(): Bitmap? = when (this) {
is BitmapDrawable -> bitmap