mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-09 20:39:24 +02:00
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:
parent
2ccf7ec2f0
commit
c606212043
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user