Finalize theme icon color API

Fixes #103120
This commit is contained in:
Alex Ross
2020-10-20 17:03:00 +02:00
parent 125f83c3f6
commit cb1dce0ef3
3 changed files with 12 additions and 26 deletions

View File

@@ -601,9 +601,6 @@ class ExtHostTreeView<T> extends Disposable {
}
private getThemeIcon(extensionTreeItem: vscode.TreeItem2): ThemeIcon | undefined {
if ((extensionTreeItem.iconPath instanceof ThemeIcon) && extensionTreeItem.iconPath.themeColor) {
checkProposedApiEnabled(this.extension);
}
return extensionTreeItem.iconPath instanceof ThemeIcon ? extensionTreeItem.iconPath : undefined;
}