mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
Fix issue of Idle
displayed after pausing and resuming the app.
This commit is contained in:
parent
25a09bc446
commit
8f927a46ca
1 changed files with 3 additions and 0 deletions
|
@ -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>> {
|
||||
|
|
Loading…
Reference in a new issue