refactor dyn uplist

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-27 09:45:18 +08:00
parent 840f8d5a25
commit 5d15bf5e59
9 changed files with 228 additions and 275 deletions

View File

@@ -132,7 +132,7 @@ class Word {
style = json['style'] == null ? null : Style.fromJson(json['style']);
if (json['color'] case final String rawColor
when rawColor.startsWith('#')) {
color = ColourUtils.parse2Int(json['color']);
color = ColourUtils.parse2Int(rawColor);
}
fontLevel = json['font_level'];
}