working on color customization
This commit is contained in:
@@ -99,6 +99,10 @@ public class Project implements Mappable {
|
||||
case NAME: name = json.getString(key); break;
|
||||
case SHOW_CLOSED: showClosed = json.getBoolean(SHOW_CLOSED); break;
|
||||
case STATUS: status = json.getInt(key); break;
|
||||
case TAG_COLORS:
|
||||
tagColors.clear();
|
||||
json.getJSONObject(TAG_COLORS).toMap().forEach((k,v) -> tagColors.put(k,v.toString()));
|
||||
break;
|
||||
default: key = null;
|
||||
}
|
||||
if (key != null) dirtyFields.add(key);
|
||||
|
||||
Reference in New Issue
Block a user