Fixes hashtag links

This commit is contained in:
Vitor Pamplona
2023-03-23 11:07:02 -04:00
parent 4589e6f329
commit f91a0d4cd0

View File

@@ -546,8 +546,8 @@ fun DisplayUncitedHashtags(
hashtags.forEach { hashtags.forEach {
if (!eventContent.contains(it, true)) { if (!eventContent.contains(it, true)) {
ClickableText( ClickableText(
text = AnnotatedString("#$it "), text = AnnotatedString("#$hashtag "),
onClick = { navController.navigate("Hashtag/$it") }, onClick = { navController.navigate("Hashtag/$hashtag") },
style = LocalTextStyle.current.copy( style = LocalTextStyle.current.copy(
color = MaterialTheme.colors.primary.copy( color = MaterialTheme.colors.primary.copy(
alpha = 0.52f alpha = 0.52f