Skip to content

Commit 73c28dc

Browse files
committed
Simplify a named argument call
1 parent b303674 commit 73c28dc

File tree

1 file changed

+1
-1
lines changed
  • compose-multiplatform-material/src/jvmMain/kotlin/com/huanshankeji/compose/material

1 file changed

+1
-1
lines changed

compose-multiplatform-material/src/jvmMain/kotlin/com/huanshankeji/compose/material/Components.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ actual class ButtonScope(val rowScope: RowScope) {
1212

1313
@Composable
1414
actual fun Button(onClick: () -> Unit, content: @Composable ButtonScope.() -> Unit) =
15-
androidx.compose.material.Button(onClick = onClick) { ButtonScope(this).content() }
15+
androidx.compose.material.Button(onClick) { ButtonScope(this).content() }

0 commit comments

Comments
 (0)