Maybe fix bug where sync task doesn't get checked

This commit is contained in:
Jackson Kearl 2021-03-24 12:06:40 -07:00
parent d087b5cf4f
commit 68e582380d
No known key found for this signature in database
GPG key ID: DA09A59C409FC400

View file

@ -184,6 +184,7 @@ export class GettingStartedService extends Disposable implements IGettingStarted
}
}));
if (userDataAutoSyncEnablementService.isEnabled()) { this.progressByEvent('sync-enabled'); }
this._register(userDataAutoSyncEnablementService.onDidChangeEnablement(() => {
if (userDataAutoSyncEnablementService.isEnabled()) { this.progressByEvent('sync-enabled'); }
}));