automatic fixes

This commit is contained in:
zontreck 2025-06-01 14:18:56 -07:00
parent d33cdfb275
commit aa67607596
3 changed files with 5 additions and 7 deletions

View file

@ -130,7 +130,7 @@ class _main extends State<MainGen> {
var pokemon = Pokemon.values[iterNumber];
if (currentGen != pokemon.generation) {
if (total > 0) sb.append("\n- Completed ${completed}/${total}\n");
if (total > 0) sb.append("\n- Completed $completed/$total\n");
sb.append("\n# Generation ${pokemon.generation.name}\n\n");
currentGen = pokemon.generation;
@ -187,7 +187,7 @@ class _main extends State<MainGen> {
setState(() {});
} else if (state - index == 6) {
// Task - write file
sb.append("\n- Completed ${completed}/${total}\n");
sb.append("\n- Completed $completed/$total\n");
maxTasks += 3;
statusMessage = "Saving to COMPLETED.md";
@ -203,7 +203,7 @@ class _main extends State<MainGen> {
setState(() {});
} else if (state - index == 8) {
statusMessage = "Updating Latest Version manifest...";
await File("LATEST_VERSION").writeAsString("${Constants.VERSION}");
await File("LATEST_VERSION").writeAsString(Constants.VERSION);
state++;
setState(() {});
} else if (state - index == 9) {