Fix issue with startup (#7461)

* address startup erorr

* fix naming
This commit is contained in:
Anthony Dresser
2019-10-01 17:31:49 -07:00
committed by GitHub
parent 4c2ffdfc68
commit c4dfc5cf70
3 changed files with 36 additions and 15 deletions

View File

@@ -20,7 +20,10 @@ export class NativeEnablePreviewFeatures extends AbstractEnablePreviewFeatures {
@IElectronService private readonly electronService: IElectronService
) {
super(storageService, notificationService, hostService, configurationService);
this.handlePreviewFeatures();
}
protected getWindowCount(): Promise<number> {
return this.electronService.getWindowCount();
}