Fix issue of Idle displayed after pausing and resuming the app.

This commit is contained in:
Benoit Marty 2023-01-27 15:41:23 +01:00
parent 25a09bc446
commit 8f927a46ca

View File

@ -80,6 +80,9 @@ class FlowSession(private val session: Session) {
fun liveSyncState(): Flow<SyncState> {
return session.syncService().getSyncStateLive().asFlow()
.startWith(session.coroutineDispatchers.io) {
session.syncService().getSyncState()
}
}
fun livePushers(): Flow<List<Pusher>> {