fix game choose view highlighting not working
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user