fix syncing state

This commit is contained in:
2026-07-07 08:27:25 +07:00
parent 9ed29c90ba
commit a76c8d117b
3 changed files with 3 additions and 4 deletions
@@ -65,7 +65,7 @@ class ChatViewModel(private val nostr: Nostr) : BaseViewModel() {
launch {
nostr.messages.messageSyncState.collect { syncState ->
// When at least some messages are processed, allow UI to show the list
if (syncState.processedCount > 0) {
if (syncState.processedCount > 0 || !syncState.isSyncing) {
_state.update { it.copy(isPartialProcessedGiftWrap = true) }
}