mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-25 09:34:25 +00:00
Wrap MemberListItem
in a Box
to have the DropdownMenu
display correctly
This commit is contained in:
parent
4a084519ce
commit
fb45b3ea06
1 changed files with 72 additions and 68 deletions
|
@ -84,6 +84,9 @@ fun MemberListItem(
|
||||||
val alpha = if (rsvp.answer == RSVPAnswer.PENDING) 0.4f else 1.0f
|
val alpha = if (rsvp.answer == RSVPAnswer.PENDING) 0.4f else 1.0f
|
||||||
val color = rsvp.answer.staticColorRole.color().copy(alpha)
|
val color = rsvp.answer.staticColorRole.color().copy(alpha)
|
||||||
|
|
||||||
|
// A parent layout is needed for the Dropdown to display in the correct position
|
||||||
|
Box {
|
||||||
|
|
||||||
ListItem(
|
ListItem(
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.combinedClickable(
|
.combinedClickable(
|
||||||
|
@ -159,3 +162,4 @@ fun MemberListItem(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue