mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-18 05:41:56 +01:00
Fixes miscache of hashtag following button
This commit is contained in:
parent
69f5371ab8
commit
6b193894bd
@ -187,7 +187,7 @@ fun GeoHashActionOptions(
|
||||
.follows
|
||||
.observeAsState()
|
||||
val isFollowingTag by
|
||||
remember(userState) {
|
||||
remember(userState, tag) {
|
||||
derivedStateOf { userState?.user?.isFollowingGeohash(tag) ?: false }
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ fun HashtagActionOptions(
|
||||
.follows
|
||||
.observeAsState()
|
||||
val isFollowingTag by
|
||||
remember(userState) {
|
||||
remember(userState, tag) {
|
||||
derivedStateOf { userState?.user?.isFollowingHashtag(tag) ?: false }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user