From 359c538a397127fef71e9ec8a8c369b2188af1df Mon Sep 17 00:00:00 2001 From: Cedrick Cooke Date: Mon, 6 Jan 2025 10:52:25 -0800 Subject: [PATCH] Kotlinter --- compose/src/commonMain/kotlin/Interop.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/src/commonMain/kotlin/Interop.kt b/compose/src/commonMain/kotlin/Interop.kt index cb9ecf6c..21ce4ce3 100644 --- a/compose/src/commonMain/kotlin/Interop.kt +++ b/compose/src/commonMain/kotlin/Interop.kt @@ -5,4 +5,5 @@ import com.juul.krayon.color.Color import androidx.compose.ui.graphics.Color as ComposeColor public fun Color.toCompose(): ComposeColor = ComposeColor(argb) + public fun ComposeColor.toKrayon(): Color = Color(toArgb())