update sync url on change

This commit is contained in:
Sandeep Somavarapu
2020-09-17 20:20:07 +02:00
parent 6663bb658e
commit 20a6e1f5a2
6 changed files with 40 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ class UserDataSyncStoreManagementService extends AbstractUserDataSyncStoreManage
) {
super(productService, configurationService, storageService);
this.channel = sharedProcessService.getChannel('userDataSyncStoreManagement');
this._register(this.channel.listen('onDidChangeUserDataSyncStore')(() => this.updateUserDataSyncStore()));
}
async switch(type: UserDataSyncStoreType): Promise<void> {