mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +08:00
fix: add role in CheckBox
This commit is contained in:
@@ -97,8 +97,9 @@ fun CheckBox(
|
||||
Row(modifier = sModifier, verticalAlignment = Alignment.CenterVertically) {
|
||||
Box(
|
||||
modifier = Modifier.clickable(
|
||||
interactionSource = interactionSource,
|
||||
enabled = enabled,
|
||||
interactionSource = interactionSource
|
||||
role = Role.Checkbox
|
||||
) { onCheckedChange(!checked) }
|
||||
.size(style.strokeSize)
|
||||
.scale(animatedStrokeScale)
|
||||
|
Reference in New Issue
Block a user