Skip to content
Snippets Groups Projects
Commit fe8946d2 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '14-fix-compute-score-board-on-game-start' into 'master'

Resolve "Fix compute score board on game start"

Closes #14

See merge request !14
parents 338a90bb ebb4c5d0
Branches
Tags Release_0.0.12_12
1 merge request!14Resolve "Fix compute score board on game start"
Pipeline #4915 passed
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.11
app.versionCode=11
app.versionName=0.0.12
app.versionCode=12
Fix compute score board on new game.
Correction du calcul du bandeau de score au démarrage d'une partie.
......@@ -122,6 +122,7 @@ class GameCubit extends HydratedCubit<GameState> {
void postAnimate() {
this.moveCellsDown();
this.updateAvailableBlocksCount();
refresh();
if (!this.state.currentGame.hasAtLeastOneAvailableBlock()) {
print('no more block found. finish game.');
......@@ -137,6 +138,7 @@ class GameCubit extends HydratedCubit<GameState> {
newGame.dump();
updateState(newGame);
this.postAnimate();
}
@override
......
......@@ -3,7 +3,7 @@ description: Jeweled Game
publish_to: 'none'
version: 0.0.11+11
version: 0.0.12+12
environment:
sdk: '^3.0.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment