RoomList: more rework on RoomSummaryDataSource

This commit is contained in:
ganfra 2023-06-26 18:02:53 +02:00
parent 7ee3c1bf42
commit fa48c29486
11 changed files with 152 additions and 98 deletions

View file

@ -179,7 +179,7 @@ class LoggedInFlowNode @AssistedInject constructor(
lifecycleScope.launch {
repeatOnLifecycle(Lifecycle.State.RESUMED) {
combine(
syncService.syncState.debounce(100),
syncService.syncState,
networkMonitor.connectivity
) { syncState, networkStatus ->
syncState == SyncState.InError && networkStatus == NetworkStatus.Online