Stop exposing Syncer from SyncClient
This commit is contained in:
parent
93b43f57b7
commit
2722f7c7fc
1 changed files with 84 additions and 55 deletions
|
|
@ -19,14 +19,14 @@ export class StatusDescription {
|
|||
this.updateDescription();
|
||||
});
|
||||
|
||||
this.syncClient.syncer.addRemainingOperationsListener(
|
||||
this.syncClient.addRemainingSyncOperationsListener(
|
||||
(remainingOperations) => {
|
||||
this.lastRemaining = remainingOperations;
|
||||
this.updateDescription();
|
||||
}
|
||||
);
|
||||
|
||||
this.syncClient.addOnSettingsChangeHandlers(() => {
|
||||
this.syncClient.addOnSettingsChangeListener(() => {
|
||||
void this.updateConnectionState();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue