mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 23:16:51 +01:00
Initializing the isHidden state for the note correctly
This commit is contained in:
@@ -130,7 +130,7 @@ fun CheckHiddenChatMessage(
|
||||
accountViewModel.account.liveHiddenUsers.map {
|
||||
baseNote.isHiddenFor(it)
|
||||
}.distinctUntilChanged()
|
||||
}.observeAsState(false)
|
||||
}.observeAsState(accountViewModel.isNoteHidden(baseNote))
|
||||
|
||||
if (!isHidden) {
|
||||
LoadedChatMessageCompose(
|
||||
|
||||
Reference in New Issue
Block a user