mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-03 23:02:35 +02:00
fix boosted notes from blocked users appearing as blank
This commit is contained in:
@@ -291,8 +291,9 @@ fun CheckHiddenNoteCompose(
|
||||
nav = nav
|
||||
)
|
||||
} else {
|
||||
val boostedNote = note.replyTo?.lastOrNull()
|
||||
val isHidden by accountViewModel.account.liveHiddenUsers.map {
|
||||
note.isHiddenFor(it)
|
||||
note.isHiddenFor(it) || boostedNote?.isHiddenFor(it) == true
|
||||
}.observeAsState(accountViewModel.isNoteHidden(note))
|
||||
|
||||
Crossfade(targetState = isHidden) {
|
||||
|
Reference in New Issue
Block a user