Update rust sdk : start branching new SyncService (wip)

This commit is contained in:
ganfra 2023-07-17 22:26:21 +02:00
parent 280b7e32e0
commit c7406de5e2
10 changed files with 37 additions and 30 deletions

View file

@ -139,7 +139,9 @@ class LoggedInFlowNode @AssistedInject constructor(
}
},
onResume = {
syncService.startSync()
lifecycleScope.launch {
syncService.startSync()
}
},
onPause = {
syncService.stopSync()