From 13d6bca1b34cd4d9ba00fd192fc566f584f82503 Mon Sep 17 00:00:00 2001 From: another-simple-pixel Date: Mon, 18 May 2026 07:47:11 -0700 Subject: [PATCH] GroupChatInfoView: move owner row out of the members card into the lazy list Per review #1: card holds only Invite + (optional) search; the user-as-owner row joins the same lazy column as the rest of the members, picking up the canvas-variant avatar color through MemberProfileImage's updated default. --- .../simplex/common/views/chat/group/GroupChatInfoView.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt index e245d1ada2..373507d7d2 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt @@ -718,13 +718,15 @@ fun ModalData.GroupChatInfoLayout( MemberListSearchRowView(searchText) } } - SectionItemView(minHeight = 54.dp, padding = PaddingValues(horizontal = DEFAULT_PADDING)) { - MemberRow(groupInfo.membership, user = true) - } } } } if (!groupInfo.nextConnectPrepared && !groupInfo.useRelays) { + item { + SectionItemView(minHeight = 54.dp, padding = PaddingValues(horizontal = DEFAULT_PADDING)) { + MemberRow(groupInfo.membership, user = true) + } + } items(filteredMembers.value, key = { it.groupMemberId }) { member -> val showMenu = remember(member.groupMemberId) { mutableStateOf(false) } val canBeSelected = groupInfo.membership.memberRole >= member.memberRole && member.memberRole < GroupMemberRole.Moderator