We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785c4a5 commit 65210b7Copy full SHA for 65210b7
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/sync/RustSyncService.kt
@@ -58,9 +58,7 @@ class RustSyncService(
58
.map(RoomListServiceState::toSyncState)
59
.onEach { state ->
60
Timber.v("Sync state=$state")
61
- if (state == SyncState.InError || state == SyncState.Terminated) {
62
- isSyncing.set(false)
63
- }
+ isSyncing.set(state == SyncState.Syncing)
64
}
65
.distinctUntilChanged()
66
.stateIn(sessionCoroutineScope, SharingStarted.Eagerly, SyncState.Idle)
0 commit comments