From d6483230be1426166aeefff01d47c31ccdfba936 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 31 Jul 2021 00:02:12 +0800 Subject: [PATCH] Show unplaced pieces count by default --- src/ui/flutter_app/lib/common/config.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/flutter_app/lib/common/config.dart b/src/ui/flutter_app/lib/common/config.dart index 5aa4e129..a23416bc 100644 --- a/src/ui/flutter_app/lib/common/config.dart +++ b/src/ui/flutter_app/lib/common/config.dart @@ -49,7 +49,7 @@ class Config { // Display static String languageCode = Constants.defaultLanguageCodeName; static bool standardNotationEnabled = true; - static bool isPieceCountInHandShown = false; + static bool isPieceCountInHandShown = true; static bool isNotationsShown = false; static bool isHistoryNavigationToolbarShown = false; static double boardBorderLineWidth = 2.0; @@ -126,7 +126,7 @@ class Config { Config.standardNotationEnabled = settings['StandardNotationEnabled'] ?? true; Config.isPieceCountInHandShown = - settings['IsPieceCountInHandShown'] ?? false; + settings['IsPieceCountInHandShown'] ?? true; Config.isNotationsShown = settings['IsNotationsShown'] ?? false; Config.isHistoryNavigationToolbarShown = settings['IsHistoryNavigationToolbarShown'] ?? false;