Reverts the hidden note LiveData to make sure the interface doesn't blink with the hidden note that just disappears ms later.

pull/670/head
Vitor Pamplona 2023-10-27 17:58:40 -04:00
rodzic 2ccf7ec2f0
commit c606212043
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {