Do not check for settings sync enablement while initializing in web

This commit is contained in:
Sandeep Somavarapu
2021-03-05 15:09:04 +01:00
parent 997c9f2930
commit 57aaafc72f
@@ -76,11 +76,6 @@ export class UserDataInitializationService implements IUserDataInitializationSer
return;
}
if (!this.environmentService.options?.enableSyncByDefault && !this.environmentService.options?.settingsSyncOptions?.enabled) {
this.logService.trace(`Skipping initializing user data as settings sync is not enabled`);
return;
}
if (!this.storageService.isNew(StorageScope.GLOBAL)) {
this.logService.trace(`Skipping initializing user data as application was opened before`);
return;