Reverts the hidden note LiveData to make sure the interface doesn't blink with the hidden note that just disappears ms later.
This commit is contained in:
@@ -306,7 +306,7 @@ fun CheckHiddenNoteCompose(
|
||||
accountViewModel.account.liveHiddenUsers.map {
|
||||
note.isHiddenFor(it)
|
||||
}.distinctUntilChanged()
|
||||
}.observeAsState(false)
|
||||
}.observeAsState(accountViewModel.isNoteHidden(note))
|
||||
|
||||
Crossfade(targetState = isHidden) {
|
||||
if (!it) {
|
||||
|
||||
Reference in New Issue
Block a user