diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java index 1655b24..34a6025 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java @@ -306,7 +306,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig finish(); overridePendingTransition(0, 0); } - gameSolved = savedInstanceState.getInt("gameSolved") == 1; + gameSolved = savedInstanceState.getBoolean("gameSolved"); }