mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 21:28:55 +00:00
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:
committed by
GitHub
parent
46bb960fcb
commit
63f7defb07
+1
-1
@@ -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)) }
|
stickyHeader { ListSectionHeader(text = stringResource(R.string.screen_room_member_list_mode_members)) }
|
||||||
items(searchResults.members, key = { it.userId }) { roomMember ->
|
items(searchResults.members, key = { it.userId }) { roomMember ->
|
||||||
ListMemberItem(
|
ListMemberItem(
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:9e07c6ee5a1e9ebedc98ed8daca1c7e81c877102e24d9cc7a21834ce24df7d1d
|
oid sha256:5c78aba6e190dd73671503b4fa725c04c9bf23ffc3b7ca953670663e16fda7b7
|
||||||
size 16758
|
size 14607
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b8188aab8aaa9d7685e6936883e635f097bc3b9b8fdd5bb778bc7baae3f97ea1
|
oid sha256:b96e9765dc77cb7a16da3d241b9ee90a7039a5184bf90002b2856aa9a695b446
|
||||||
size 16308
|
size 14304
|
||||||
|
|||||||
Reference in New Issue
Block a user