Refactoring

This commit is contained in:
2026-05-24 17:07:09 +02:00
parent d82206319a
commit 398c7a4168
6 changed files with 13 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ class GameLabel extends StatelessWidget {
@override
Widget build(BuildContext context) {
final backgroundColor = getColorFromGameColor(color);
final backgroundColor = getColorFromAppColor(color);
final fontColor = backgroundColor.computeLuminance() > 0.5
? Colors.black
: Colors.white;