fix: apply code review

pull/195/head
arturplaczek 3 years ago
parent 8a9c2acc83
commit 6a2112c8bc

@ -26,6 +26,7 @@ class PlayButtonOverlay extends StatelessWidget {
_game.gameFlowController.start(); _game.gameFlowController.start();
showDialog<void>( showDialog<void>(
context: context, context: context,
barrierDismissible: false,
builder: (_) { builder: (_) {
final height = MediaQuery.of(context).size.height * 0.5; final height = MediaQuery.of(context).size.height * 0.5;
@ -37,7 +38,6 @@ class PlayButtonOverlay extends StatelessWidget {
), ),
); );
}, },
barrierDismissible: false,
); );
}, },
child: Text(l10n.play), child: Text(l10n.play),

Loading…
Cancel
Save