diff --git a/src/ui/flutter_app/lib/mill/recorder.dart b/src/ui/flutter_app/lib/mill/recorder.dart index d324b3ba..89c5b353 100644 --- a/src/ui/flutter_app/lib/mill/recorder.dart +++ b/src/ui/flutter_app/lib/mill/recorder.dart @@ -351,6 +351,10 @@ class GameRecorder { get movesCount => _history.length; String buildMoveHistoryText({cols = 2}) { + if (_history.length == 0) { + return ''; + } + var moveHistoryText = ''; int k = 1; String num = "";