Stop exposing Syncer from SyncClient

This commit is contained in:
Andras Schmelczer 2025-03-22 13:48:01 +00:00
commit 2722f7c7fc
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -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();
});
}