Commit ed1b5b23 authored by Riegel's avatar Riegel
Browse files

Style: Add text color for validated entries

parent 813914eb
Showing with 3 additions and 1 deletion
+3 -1
...@@ -14,8 +14,10 @@ public class ZipEntryNode { ...@@ -14,8 +14,10 @@ public class ZipEntryNode {
public Color getTextColor() { public Color getTextColor() {
if (entry.getErrorType() != null) { if (entry.getErrorType() != null) {
return Color.RED; return Color.RED;
} else if (entry.isDecompressed()) { } else if (entry.getModel() != null && entry.getModel().isValidated()) {
return Color.GREEN; return Color.GREEN;
} else if (entry.isDecompressed()) {
return Color.BLUE;
} else { } else {
return Color.BLACK; return Color.BLACK;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment