mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-05 15:52:47 +02:00
Fix issue of Idle
displayed after pausing and resuming the app.
This commit is contained in:
@@ -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>> {
|
||||
|
Reference in New Issue
Block a user