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