Merge pull request #67 from rdatta95/fix-getting-gameSolved-value

Getting correct value of "gameSolved" key (Partial fix for Issue #37)
This commit is contained in:
Christopher Beckmann 2020-11-05 08:35:58 +01:00 committed by GitHub
commit 444fa1914a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,7 +306,7 @@ public class GameActivity extends BaseActivity implements NavigationView.OnNavig
finish(); finish();
overridePendingTransition(0, 0); overridePendingTransition(0, 0);
} }
gameSolved = savedInstanceState.getInt("gameSolved") == 1; gameSolved = savedInstanceState.getBoolean("gameSolved");
} }