提交 e6e87b51 编写于 作者: M Martin Aeschlimann

Default theme not supported in settings anymore. Fixes #94876

上级 8c219e5b
......@@ -230,7 +230,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
});
}
private installRegistryListeners() {
private installRegistryListeners(): Promise<any> {
let prevColorId: string | undefined = undefined;
......@@ -289,6 +289,12 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
this.setProductIconTheme(DEFAULT_PRODUCT_ICON_THEME_ID, 'auto');
}
});
return Promise.all([this.getColorThemes(), this.getFileIconThemes(), this.getProductIconThemes()]).then(([ct, fit, pit]) => {
updateColorThemeConfigurationSchemas(ct);
updateFileIconThemeConfigurationSchemas(fit);
updateProductIconThemeConfigurationSchemas(pit);
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册