fix: remove Center from PlayButtonOverlay

pull/288/head
arturplaczek 3 years ago
parent e73493fcbf
commit be39da94e2

@ -21,14 +21,12 @@ class PlayButtonOverlay extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
final l10n = context.l10n; final l10n = context.l10n;
return Center( return PinballButton(
child: PinballButton( text: l10n.play,
text: l10n.play, onTap: () async {
onTap: () async { _game.gameFlowController.start();
_game.gameFlowController.start(); await showCharacterSelectionDialog(context);
await showCharacterSelectionDialog(context); },
},
),
); );
} }
} }

Loading…
Cancel
Save