diff --git a/lib/data/game_session.dart b/lib/data/game_session.dart index 94cc87c..0403822 100644 --- a/lib/data/game_session.dart +++ b/lib/data/game_session.dart @@ -201,7 +201,6 @@ class GameSession { /// Sums up the points of all players and stores the result in the /// playerScores list. void _sumPoints() { - print('_sumPoints()'); for (int i = 0; i < players.length; i++) { playerScores[i] = 0; for (int j = 0; j < roundList.length; j++) { diff --git a/lib/views/create_game_view.dart b/lib/views/create_game_view.dart index 3c5c727..2ffbe22 100644 --- a/lib/views/create_game_view.dart +++ b/lib/views/create_game_view.dart @@ -285,7 +285,7 @@ class _CreateGameState extends State { players: players, gameHasPointLimit: selectedMode!, ); - Navigator.push( + Navigator.pushReplacement( context, CupertinoPageRoute( builder: (context) => diff --git a/pubspec.yaml b/pubspec.yaml index e09b4e3..326e7ee 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: cabo_counter description: "Mobile app for the card game Cabo" publish_to: 'none' -version: 0.1.3+63 +version: 0.1.3+65 environment: sdk: ^3.5.4