mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 22:37:03 +05:30
Fix ripple indication
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
28fd3f6f7e
commit
3d42671277
1 changed files with 3 additions and 2 deletions
|
@ -29,13 +29,14 @@ fun LazyItemScope.WireGuardItem(item: TodoItem) {
|
|||
var checked by remember { mutableStateOf(false) }
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.clickable(onClick = { checked = !checked }, indication = RippleIndication())
|
||||
.padding(vertical = 8.dp)
|
||||
.fillParentMaxWidth(),
|
||||
) {
|
||||
Card(
|
||||
shape = RoundedCornerShape(8.dp),
|
||||
modifier = Modifier.fillParentMaxWidth(),
|
||||
modifier = Modifier
|
||||
.clickable(onClick = { checked = !checked }, indication = RippleIndication())
|
||||
.fillParentMaxWidth(),
|
||||
backgroundColor = MaterialTheme.colors.secondary
|
||||
) {
|
||||
ListItem(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue