working on color customization

This commit is contained in:
2025-09-23 21:59:23 +02:00
parent de432b664b
commit ccde6e3e1d
10 changed files with 120 additions and 52 deletions

View File

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