refactor: show button on success add user

pull/98/head
RuiAlonso 4 years ago
parent cab8e522be
commit 1f953eb603

@ -70,14 +70,10 @@ class _PinballGameViewState extends State<PinballGameView> {
showDialog<void>( showDialog<void>(
context: context, context: context,
builder: (_) { builder: (_) {
<<<<<<< HEAD
return GameOverDialog( return GameOverDialog(
score: state.score, score: state.score,
theme: widget.theme.characterTheme, theme: widget.theme.characterTheme,
); );
=======
return GameOverDialog(theme: widget.theme.characterTheme);
>>>>>>> main
}, },
); );
} }

@ -52,6 +52,8 @@ class _GameOverDialogViewState extends State<GameOverDialogView> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final l10n = context.l10n;
return Dialog( return Dialog(
child: SizedBox( child: SizedBox(
width: 200, width: 200,

Loading…
Cancel
Save