mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Merge pull request #6705 from bxdxnn/misc/roommembermoderation-avatar-tap
Make the avatar in the room member moderation bottom sheet clickable
This commit is contained in:
+7
@@ -8,6 +8,7 @@
|
||||
|
||||
package io.element.android.features.roommembermoderation.impl
|
||||
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
@@ -239,6 +240,12 @@ private fun RoomMemberActionsBottomSheet(
|
||||
modifier = Modifier
|
||||
.padding(bottom = 24.dp)
|
||||
.align(Alignment.CenterHorizontally)
|
||||
.clickable {
|
||||
coroutineScope.launch {
|
||||
onSelectAction(ModerationAction.DisplayProfile, user)
|
||||
bottomSheetState.hide()
|
||||
}
|
||||
}
|
||||
)
|
||||
val bestName = user.getBestName()
|
||||
Text(
|
||||
|
||||
Reference in New Issue
Block a user