From be39da94e28feef82537e4d4dc3b9241f1a0b161 Mon Sep 17 00:00:00 2001 From: arturplaczek Date: Mon, 2 May 2022 20:23:53 +0200 Subject: [PATCH] fix: remove Center from PlayButtonOverlay --- lib/game/view/widgets/play_button_overlay.dart | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/game/view/widgets/play_button_overlay.dart b/lib/game/view/widgets/play_button_overlay.dart index a7517517..1d4a10fb 100644 --- a/lib/game/view/widgets/play_button_overlay.dart +++ b/lib/game/view/widgets/play_button_overlay.dart @@ -21,14 +21,12 @@ class PlayButtonOverlay extends StatelessWidget { Widget build(BuildContext context) { final l10n = context.l10n; - return Center( - child: PinballButton( - text: l10n.play, - onTap: () async { - _game.gameFlowController.start(); - await showCharacterSelectionDialog(context); - }, - ), + return PinballButton( + text: l10n.play, + onTap: () async { + _game.gameFlowController.start(); + await showCharacterSelectionDialog(context); + }, ); } }