Add .clickable to RoomMemberModerationView avatar
This commit is contained in:
parent
1b2eb3a375
commit
9a52c829ed
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
package io.element.android.features.roommembermoderation.impl
|
package io.element.android.features.roommembermoderation.impl
|
||||||
|
|
||||||
|
import androidx.compose.foundation.clickable
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
import androidx.compose.foundation.layout.Spacer
|
import androidx.compose.foundation.layout.Spacer
|
||||||
|
|
@ -234,6 +235,12 @@ private fun RoomMemberActionsBottomSheet(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(bottom = 24.dp)
|
.padding(bottom = 24.dp)
|
||||||
.align(Alignment.CenterHorizontally)
|
.align(Alignment.CenterHorizontally)
|
||||||
|
.clickable {
|
||||||
|
coroutineScope.launch {
|
||||||
|
onSelectAction(ModerationAction.DisplayProfile, user)
|
||||||
|
bottomSheetState.hide()
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
val bestName = user.getBestName()
|
val bestName = user.getBestName()
|
||||||
Text(
|
Text(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue