1
0
mirror of https://github.com/vector-im/element-android.git synced 2025-07-29 19:41:14 +03:00

Create a SyncService and move some methods from Session there.

Merge SyncStatusService to SyncService, and rename some classes
This commit is contained in:
Benoit Marty
2022-05-12 00:13:20 +02:00
parent 733c2848a7
commit f62d598b79
50 changed files with 395 additions and 352 deletions

View File

@ -88,7 +88,7 @@ class FlowSession(private val session: Session) {
}
fun liveSyncState(): Flow<SyncState> {
return session.getSyncStateLive().asFlow()
return session.syncService().getSyncStateLive().asFlow()
}
fun livePushers(): Flow<List<Pusher>> {