mirror of https://github.com/microsoft/vscode.git
git - use different icon for uncomitted changes (#145781)
This commit is contained in:
parent
b91799746e
commit
fbdc6d0352
|
@ -229,8 +229,7 @@ export class GitTimelineProvider implements TimelineProvider {
|
|||
const date = new Date();
|
||||
|
||||
const item = new GitTimelineItem('', index ? '~' : 'HEAD', localize('git.timeline.uncommitedChanges', 'Uncommitted Changes'), date.getTime(), 'working', 'git:file:working');
|
||||
// TODO@eamodio: Replace with a better icon -- reflecting its status maybe?
|
||||
item.iconPath = new ThemeIcon('git-commit');
|
||||
item.iconPath = new ThemeIcon('circle-outline');
|
||||
item.description = '';
|
||||
item.setItemDetails(you, undefined, dateFormatter.format(date), Resource.getStatusText(working.type));
|
||||
|
||||
|
|
Loading…
Reference in New Issue