Skip to content

Commit 6193213

Browse files
committed
revert file icon edit
1 parent 87e3d35 commit 6193213

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/features/views/treeViewItems.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ export class ProjectItem implements ProjectTreeItem {
213213
item.description = this.project.description;
214214
item.tooltip = this.project.tooltip;
215215
item.resourceUri = project.uri.fsPath.endsWith('.py') ? this.project.uri : undefined;
216-
217-
item.iconPath = this.project.iconPath;
216+
item.iconPath = this.project.iconPath ?? (project.uri.fsPath.endsWith('.py') ? ThemeIcon.File : undefined);
218217
this.treeItem = item;
219218
}
220219

0 commit comments

Comments
 (0)