Fixes miscache of hashtag following button
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ fun GeoHashActionOptions(
|
||||
.follows
|
||||
.observeAsState()
|
||||
val isFollowingTag by
|
||||
remember(userState) {
|
||||
remember(userState, tag) {
|
||||
derivedStateOf { userState?.user?.isFollowingGeohash(tag) ?: false }
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -166,7 +166,7 @@ fun HashtagActionOptions(
|
||||
.follows
|
||||
.observeAsState()
|
||||
val isFollowingTag by
|
||||
remember(userState) {
|
||||
remember(userState, tag) {
|
||||
derivedStateOf { userState?.user?.isFollowingHashtag(tag) ?: false }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user