diff --git a/lib/views/active_game_view.dart b/lib/views/active_game_view.dart index 590378e..b7f87e9 100644 --- a/lib/views/active_game_view.dart +++ b/lib/views/active_game_view.dart @@ -75,6 +75,7 @@ class _ActiveGameViewState extends State { Navigator.push( context, CupertinoPageRoute( + fullscreenDialog: true, builder: (context) => RoundView( gameSession: widget.gameSession, roundNumber: index + 1), diff --git a/lib/views/round_view.dart b/lib/views/round_view.dart index 15f9a6d..4529e67 100644 --- a/lib/views/round_view.dart +++ b/lib/views/round_view.dart @@ -45,10 +45,17 @@ class _RoundViewState extends State { @override Widget build(BuildContext context) { return CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar( + navigationBar: CupertinoNavigationBar( transitionBetweenRoutes: true, - middle: Text('Ergebnisse'), + middle: const Text('Ergebnisse'), previousPageTitle: 'Übersicht', + leading: CupertinoButton( + padding: EdgeInsets.zero, + onPressed: () { + Navigator.pop(context); + }, + child: Text('Abbrechen'), + ), ), child: Stack( children: [