提交 1a6fabd8 编写于 作者: J Joao Moreno

fix #55840

上级 c283ad94
......@@ -249,9 +249,6 @@ export class WinUserSetupContribution implements IWorkbenchContribution {
@IOpenerService private openerService: IOpenerService,
@IUpdateService private updateService: IUpdateService
) {
updateService.onStateChange(this.onUpdateStateChange, this, this.disposables);
this.onUpdateStateChange(this.updateService.state);
const neverShowAgain = new NeverShowAgain(WinUserSetupContribution.KEY_BOTH, this.storageService);
if (!neverShowAgain.shouldShow()) {
......@@ -260,6 +257,8 @@ export class WinUserSetupContribution implements IWorkbenchContribution {
isUserSetupInstalled().then(userSetupIsInstalled => {
if (!userSetupIsInstalled) {
updateService.onStateChange(this.onUpdateStateChange, this, this.disposables);
this.onUpdateStateChange(this.updateService.state);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册