update leaderboard text fg color

This commit is contained in:
odweta
2026-04-03 13:53:39 +02:00
parent 8ba8a009a6
commit 1f8526a7dd
+2 -4
View File
@@ -211,13 +211,11 @@ class QuoteProvider extends ChangeNotifier {
Color getLeaderboardEntryFgColor(BuildContext context, int index) { Color getLeaderboardEntryFgColor(BuildContext context, int index) {
switch (index) { switch (index) {
case 0: case 0:
return Colors.black; // 1st place
case 1: case 1:
return Colors.black; // 2nd place
case 2: case 2:
return Colors.black; // 3rd place return Colors.black;
default: default:
return Colors.white; // default for all other entries return Theme.of(context).textTheme.bodyMedium!.color!;
} }
} }
} }