RoomList: more rework on RoomSummaryDataSource
This commit is contained in:
parent
7ee3c1bf42
commit
fa48c29486
11 changed files with 152 additions and 98 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue