From 54db024b6a97b2cbb53b5778e007e61184994885 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Thu, 30 Apr 2026 18:50:00 +0200 Subject: [PATCH] Show processed tags among mentions --- .../composable/widgets/feed/EventListView.kt | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/feed/EventListView.kt b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/feed/EventListView.kt index 69de015e..fdfbf2a9 100644 --- a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/feed/EventListView.kt +++ b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/feed/EventListView.kt @@ -203,6 +203,24 @@ private fun TextNoteFeedItem( } ) + } + + item { + SuggestionChip( + label = { + Text( + text = if (localNostrEvent.mentions.isNotEmpty()) { + localNostrEvent.mentions.joinToString(",") { it.mentionedPublicKey } + } else { + ":-|" + } + ) + }, + onClick = { + + } + ) + } items( @@ -211,7 +229,8 @@ private fun TextNoteFeedItem( SuggestionChip( label = { Text( - text = tag.joinToString(":") + text = tag.joinToString(":"), + maxLines = 1 ) }, onClick = {