Merge branch 'github/main'

pull/305/head
Automerger 2 years ago
commit 2531f1be9f

@ -72,7 +72,9 @@ fun NiaToggleButton(
onClick = { onCheckedChange(!checked) },
modifier = modifier
.size(size)
.toggleable(value = checked, enabled = enabled, role = Role.Button, onValueChange = {})
.toggleable(value = checked, enabled = enabled, role = Role.Button, onValueChange = {
onCheckedChange(!checked)
})
.drawBehind {
drawCircle(
color = if (checked) checkedBackgroundColor else backgroundColor,

Loading…
Cancel
Save