Skip to content
Snippets Groups Projects
Commit bbf0a4ae authored by Emil "AngryAnt" Johansen's avatar Emil "AngryAnt" Johansen
Browse files

Properly use 2x icons, fix use of Deleted state icon.

parent 3f80270d
No related branches found
No related tags found
No related merge requests found
......@@ -369,13 +369,13 @@ namespace GitHub.Unity
switch(status)
{
case GitFileStatus.Modified:
return modifiedStatusIcon = modifiedStatusIcon ?? Utility.GetIcon("modified@2x.png");
return modifiedStatusIcon = modifiedStatusIcon ?? Utility.GetIcon("modified.png", "modified@2x.png");
case GitFileStatus.Added:
return addedStatusIcon = addedStatusIcon ?? Utility.GetIcon("added@2x.png");
return addedStatusIcon = addedStatusIcon ?? Utility.GetIcon("added.png", "added@2x.png");
case GitFileStatus.Deleted:
return deletedStatusIcon = deletedStatusIcon ?? Utility.GetIcon("deleted@2x.png");
return deletedStatusIcon = deletedStatusIcon ?? Utility.GetIcon("removed.png", "removed@2x.png");
case GitFileStatus.Renamed:
return renamedStatusIcon = renamedStatusIcon ?? Utility.GetIcon("renamed@2x.png");
return renamedStatusIcon = renamedStatusIcon ?? Utility.GetIcon("renamed.png", "renamed@2x.png");
default:
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment