Set count of unplaced pieces' text color to board line color

This commit is contained in:
Calcitem 2021-07-30 00:00:34 +08:00
parent e74207af4d
commit 062e8ff079
No known key found for this signature in database
GPG Key ID: F2F7C29E054CFB80
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ class BoardPainter extends PiecesBasePainter {
}
TextSpan textSpan = TextSpan(
style:
TextStyle(fontSize: 48, color: AppTheme.boardLineColor), // TODO
style: TextStyle(
fontSize: 48, color: Color(Config.boardLineColor)), // TODO
text: pieceInHandCountStr);
TextPainter textPainter = TextPainter(