fix game choose view highlighting not working

This commit is contained in:
2026-01-02 21:26:54 +01:00
parent 678ab90af3
commit 77095725de

View File

@@ -69,6 +69,7 @@ class _ChooseGameViewState extends State<ChooseGameView> {
widget.games[index].$3, widget.games[index].$3,
context, context,
), ),
isHighlighted: selectedGameIndex == index,
onPressed: () async { onPressed: () async {
setState(() { setState(() {
if (selectedGameIndex == index) { if (selectedGameIndex == index) {