show user medal

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-22 15:01:30 +08:00
parent fc7fc18b14
commit 2bebf200df
151 changed files with 1435 additions and 1321 deletions

View File

@@ -81,7 +81,7 @@ abstract final class Utils {
}
static Color parseColor(String color) =>
Color(int.parse(color.replaceFirst('#', 'FF'), radix: 16));
Color(int.parse('FF${color.substring(1)}', radix: 16));
static Color parseMedalColor(String color) => Color(
int.parse('${color.substring(7)}${color.substring(1, 7)}', radix: 16),