Updated onTap Handler
This commit is contained in:
@@ -151,11 +151,11 @@ class _ActiveGameViewState extends State<ActiveGameView> {
|
||||
),
|
||||
backgroundColorActivated:
|
||||
CustomTheme.backgroundColor,
|
||||
onTap: () => {
|
||||
gameSession.roundNumber > 1 &&
|
||||
!gameSession.isGameFinished
|
||||
? _showEndGameDialog()
|
||||
: null
|
||||
onTap: () {
|
||||
if (gameSession.roundNumber > 1 &&
|
||||
!gameSession.isGameFinished) {
|
||||
_showEndGameDialog();
|
||||
}
|
||||
}),
|
||||
CupertinoListTile(
|
||||
title: Text(
|
||||
|
||||
Reference in New Issue
Block a user