mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-30 22:30:13 +08:00
@@ -134,7 +134,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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user