Use ImmutableList in Composable.
This commit is contained in:
parent
09f3868b53
commit
a2ff1dc933
3 changed files with 15 additions and 12 deletions
|
|
@ -443,7 +443,7 @@ private fun MessagesViewComposerBottomSheetContents(
|
|||
private fun MessagesViewTopBar(
|
||||
roomName: String?,
|
||||
roomAvatar: AvatarData?,
|
||||
heroes: List<AvatarData>,
|
||||
heroes: ImmutableList<AvatarData>,
|
||||
callState: RoomCallState,
|
||||
onRoomDetailsClick: () -> Unit,
|
||||
onJoinCallClick: () -> Unit,
|
||||
|
|
@ -503,7 +503,7 @@ private fun CallMenuItem(
|
|||
private fun RoomAvatarAndNameRow(
|
||||
roomName: String,
|
||||
roomAvatar: AvatarData,
|
||||
heroes: List<AvatarData>,
|
||||
heroes: ImmutableList<AvatarData>,
|
||||
modifier: Modifier = Modifier
|
||||
) {
|
||||
Row(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue