提交 50c1d7da 编写于 作者: A Alex Ross

Update simplified file picker setting to use a boolean

Fixes #71248
上级 1bc278f3
......@@ -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[] {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册