mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-20 22:29:19 +00:00
Clean up & add TODOs
This commit is contained in:
@ -352,7 +352,11 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
val unstable = Preferences[Preferences.Key.UpdateUnstable]
|
||||
lateinit var disposable: Disposable
|
||||
disposable = RepositoryUpdater
|
||||
.update(this@SyncService, repository, unstable) { stage, progress, total ->
|
||||
.update(
|
||||
this@SyncService,
|
||||
repository,
|
||||
unstable
|
||||
) { stage, progress, total ->
|
||||
if (!disposable.isDisposed) {
|
||||
scope.launch {
|
||||
mutableStateSubject.emit(
|
||||
|
Reference in New Issue
Block a user