Display members section when there are members in the room, not admins (#2679)
* Display members section when there are members in the room, not admins * Update screenshots --------- Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
parent
46bb960fcb
commit
63f7defb07
3 changed files with 5 additions and 5 deletions
|
|
@ -284,7 +284,7 @@ private fun SearchResultsList(
|
|||
)
|
||||
}
|
||||
}
|
||||
if (searchResults.admins.isNotEmpty()) {
|
||||
if (searchResults.members.isNotEmpty()) {
|
||||
stickyHeader { ListSectionHeader(text = stringResource(R.string.screen_room_member_list_mode_members)) }
|
||||
items(searchResults.members, key = { it.userId }) { roomMember ->
|
||||
ListMemberItem(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue