Added red color to invalid dependency in module details screen.
@@ -288,6 +288,11 @@ private String getString(DependencyInfo value) {
@Override
public void draw(DependencyInfo value, Canvas canvas) {
+ if (moduleManager.getRegistry().getLatestModuleVersion(value.getId()) == null) {
+ canvas.setMode("invalid");
+ } else {
+ canvas.setMode("available");
+ }
canvas.drawText(getString(value), canvas.getRegion());
}
