kopia lustrzana https://github.com/vitorpamplona/amethyst
Reverts the hidden note LiveData to make sure the interface doesn't blink with the hidden note that just disappears ms later.
rodzic
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) {
|
||||
|
|
Ładowanie…
Reference in New Issue