Skip to content

Commit

Permalink
Kotlinter
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrickcooke committed Jan 6, 2025
1 parent 4a360ef commit 359c538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose/src/commonMain/kotlin/Interop.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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())

0 comments on commit 359c538

Please sign in to comment.