mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 19:21:32 +02:00
Adding the suffix after the hashtag icon
This commit is contained in:
@@ -231,14 +231,6 @@ fun HashTag(word: String, accountViewModel: AccountViewModel, navController: Nav
|
||||
) {
|
||||
append("#$tag")
|
||||
}
|
||||
if (suffix != null) {
|
||||
withStyle(
|
||||
LocalTextStyle.current.copy(color = MaterialTheme.colors.onBackground)
|
||||
.toSpanStyle()
|
||||
) {
|
||||
append(suffix)
|
||||
}
|
||||
}
|
||||
},
|
||||
onClick = { navController.navigate("Hashtag/$tag") }
|
||||
)
|
||||
@@ -252,7 +244,7 @@ fun HashTag(word: String, accountViewModel: AccountViewModel, navController: Nav
|
||||
)
|
||||
}
|
||||
|
||||
Text(text = " ")
|
||||
Text(text = "$suffix ")
|
||||
} else {
|
||||
Text(text = "$word ")
|
||||
}
|
||||
|
Reference in New Issue
Block a user