Merge from vscode de81ccf04849309f843db21130c806a5783678f7 (#4738)

This commit is contained in:
Anthony Dresser
2019-03-28 13:06:16 -07:00
committed by GitHub
parent cc2951265e
commit e6785ffe95
77 changed files with 562 additions and 835 deletions

View File

@@ -85,7 +85,8 @@ export class FileDialogService implements IFileDialogService {
}
private shouldUseSimplified(schema: string): boolean {
return (schema !== Schemas.file) || (this.configurationService.getValue('workbench.dialogs.useSimplified') === 'true');
const setting = this.configurationService.getValue('workbench.dialogs.useSimplified');
return (schema !== Schemas.file) || ((setting === 'true') || (setting === true));
}
private ensureFileSchema(schema: string): string[] {