Skip to content

Commit dcbafb5

Browse files
committed
Fix due to an incompatible change of Modifier.selectable in Compose
1 parent 27427fa commit dcbafb5

File tree

1 file changed

+1
-1
lines changed
  • material2/src/composeUiMain/kotlin/com/huanshankeji/compose/material2/ext

1 file changed

+1
-1
lines changed

material2/src/composeUiMain/kotlin/com/huanshankeji/compose/material2/ext/Radio.composeUi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import com.huanshankeji.compose.ui.PlatformModifier
1515

1616
@Composable
1717
actual fun RadioRow(selected: Boolean, label: String, onClick: () -> Unit, modifier: Modifier, enabled: Boolean) =
18-
Row(Modifier.platformModifier.selectable(selected, enabled, Role.RadioButton, onClick)) {
18+
Row(Modifier.platformModifier.selectable(selected, enabled, Role.RadioButton, null, onClick)) {
1919
RadioButton(selected, null)
2020
Text(label)
2121
}

0 commit comments

Comments
 (0)