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