mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 08:20:51 +00:00
Initializing the isHidden state for the note correctly
This commit is contained in:
parent
2355a95202
commit
89fb83cd9a
@ -130,7 +130,7 @@ fun CheckHiddenChatMessage(
|
||||
accountViewModel.account.liveHiddenUsers.map {
|
||||
baseNote.isHiddenFor(it)
|
||||
}.distinctUntilChanged()
|
||||
}.observeAsState(false)
|
||||
}.observeAsState(accountViewModel.isNoteHidden(baseNote))
|
||||
|
||||
if (!isHidden) {
|
||||
LoadedChatMessageCompose(
|
||||
|
Loading…
Reference in New Issue
Block a user