Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anon committed Sep 19, 2024
1 parent da4756f commit 2047b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/model/board_editor/board_editor_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class BoardEditorController extends _$BoardEditorController {
setSideToPlay(splits[1].toLowerCase() == 'w' ? Side.white : Side.black);
}

if(loadCastling && splits.length >= 3) {
if (loadCastling && splits.length >= 3) {
final castling = splits[2];
setCastling(Side.white, CastlingSide.king, castling.contains('K'));
setCastling(Side.white, CastlingSide.queen, castling.contains('Q'));
Expand Down

0 comments on commit 2047b5c

Please sign in to comment.