diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt index da1f6c4b4..12ac914aa 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/search/SearchScreen.kt @@ -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 },