Positions search relays after users in the search result list
This commit is contained in:
+11
-11
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user