mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-15 19:22:26 +08:00
This commit is contained in:
parent
aad9cb27d0
commit
9ee1bbb429
|
@ -28,13 +28,7 @@ fun TextSwitch(
|
|||
onCheckedChange: ((Boolean) -> Unit)? = null,
|
||||
) {
|
||||
Row(
|
||||
modifier = modifier.let {
|
||||
if (modifier == Modifier) {
|
||||
it.itemPadding()
|
||||
} else {
|
||||
it.then(modifier)
|
||||
}
|
||||
},
|
||||
modifier = modifier.itemPadding(),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
Column(modifier = Modifier.weight(1f)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user