1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 01:24:24 +00:00

Add three leftover todos

This commit is contained in:
Steffo 2024-01-21 16:32:07 +01:00
parent b66cb24a7f
commit 79f4af90c3
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
3 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ fun InviteFAB(
onClick: () -> Unit = {}, onClick: () -> Unit = {},
onUserSelected: (userId: String) -> Unit = {}, onUserSelected: (userId: String) -> Unit = {},
) { ) {
// TODO: Hide if unprivileged
ExtendedFloatingActionButton( ExtendedFloatingActionButton(
modifier = modifier, modifier = modifier,
onClick = { onClick() }, onClick = { onClick() },

View file

@ -134,6 +134,7 @@ fun MemberListItem(
expanded = expanded, expanded = expanded,
onDismissRequest = { expanded = false } onDismissRequest = { expanded = false }
) { ) {
// TODO: Also hide if unprivileged
if (member.userId != session.myUserId) { if (member.userId != session.myUserId) {
DropdownMenuItem( DropdownMenuItem(
text = { text = {

View file

@ -117,6 +117,7 @@ fun RoomIconButton(
} }
Box(modifier) { Box(modifier) {
// TODO: Figure out a way to clip this with a different shape
IconButton( IconButton(
onClick = { expanded = true }, onClick = { expanded = true },
) { ) {