Positions search relays after users in the search result list

This commit is contained in:
Vitor Pamplona
2026-03-09 12:48:48 -04:00
parent 7b3a745548
commit 05b3a122f5
@@ -268,6 +268,17 @@ private fun DisplaySearchResults(
)
}
itemsIndexed(
users,
key = { _, item -> "u" + item.pubkeyHex },
) { _, item ->
UserCompose(item, accountViewModel = accountViewModel, nav = nav)
HorizontalDivider(
thickness = DividerThickness,
)
}
itemsIndexed(
relays,
key = { _, item -> "relay${item.relay.url}" },
@@ -285,17 +296,6 @@ private fun DisplaySearchResults(
)
}
itemsIndexed(
users,
key = { _, item -> "u" + item.pubkeyHex },
) { _, item ->
UserCompose(item, accountViewModel = accountViewModel, nav = nav)
HorizontalDivider(
thickness = DividerThickness,
)
}
itemsIndexed(
publicChatChannels,
key = { _, item -> "public" + item.idHex },