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