git - use different icon for uncomitted changes (#145781)

This commit is contained in:
Benjamin Pasero 2022-04-23 09:44:45 +02:00
parent b91799746e
commit fbdc6d0352
No known key found for this signature in database
GPG Key ID: E6380CC4C8219E65
1 changed files with 1 additions and 2 deletions

View File

@ -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));