mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 22:01:24 +02:00
Moves firstIsTaggedHash search to the IO thread.
This commit is contained in:
@@ -582,8 +582,10 @@ fun DisplayFollowingHashtagsInPost(
|
||||
var firstTag by remember { mutableStateOf<String?>(null) }
|
||||
|
||||
LaunchedEffect(key1 = noteEvent) {
|
||||
withContext(Dispatchers.IO) {
|
||||
firstTag = noteEvent.firstIsTaggedHashes(account.followingTagSet())
|
||||
}
|
||||
}
|
||||
|
||||
Column() {
|
||||
Row(verticalAlignment = Alignment.CenterVertically) {
|
||||
|
Reference in New Issue
Block a user