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

Fix animate painting progress

parent 6829ea05
No related branches found
No related tags found
1 merge request!41Resolve "Fix animate painting progress"
Pipeline #5755 passed
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.1.0
app.versionCode=40
app.versionName=0.1.1
app.versionCode=41
Fix animate painting progress.
Correction sur l'animation du plateau au coloriage.
......@@ -185,7 +185,7 @@ class GameCubit extends HydratedCubit<GameState> {
@override
Map<String, dynamic>? toJson(GameState state) {
return <String, dynamic>{
'currentGame': state.currentGame.toJson(),
'currentGame': state.currentGame,
};
}
}
......@@ -139,7 +139,7 @@ class Board {
Map<String, dynamic>? toJson() {
return <String, dynamic>{
'cells': cells.toString(),
'cells': cells,
};
}
}
......@@ -85,6 +85,6 @@ class BoardPainter extends CustomPainter {
@override
bool shouldRepaint(CustomPainter oldDelegate) {
return false;
return true;
}
}
......@@ -3,7 +3,7 @@ description: Fill the board, a colorfull game!
publish_to: "none"
version: 0.1.0+40
version: 0.1.1+41
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