Skip to content

Commit 63f7def

Browse files
jmartinespElementBot
andauthored
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 <[email protected]>
1 parent 46bb960 commit 63f7def

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/rolesandpermissions/changeroles/ChangeRolesView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ private fun SearchResultsList(
284284
)
285285
}
286286
}
287-
if (searchResults.admins.isNotEmpty()) {
287+
if (searchResults.members.isNotEmpty()) {
288288
stickyHeader { ListSectionHeader(text = stringResource(R.string.screen_room_member_list_mode_members)) }
289289
items(searchResults.members, key = { it.userId }) { roomMember ->
290290
ListMemberItem(
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)