From 0fce78e0b92a63694a2ea1cf32c1a4e3d4cfe2fc Mon Sep 17 00:00:00 2001 From: Noah Date: Mon, 8 Apr 2024 22:34:11 +0200 Subject: [PATCH] add result to analysis --- lib/src/view/analysis/analysis_screen.dart | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/src/view/analysis/analysis_screen.dart b/lib/src/view/analysis/analysis_screen.dart index 427b7676cc..ce098f4491 100644 --- a/lib/src/view/analysis/analysis_screen.dart +++ b/lib/src/view/analysis/analysis_screen.dart @@ -869,7 +869,14 @@ class ServerAnalysisSummary extends ConsumerWidget { ), children: [ _SummaryPlayerName(Side.white, pgnHeaders), - const SizedBox.shrink(), + Center( + child: Text( + pgnHeaders.get('Result') ?? '', + style: const TextStyle( + fontWeight: FontWeight.bold, + ), + ), + ), _SummaryPlayerName(Side.black, pgnHeaders), ], ), @@ -1087,7 +1094,7 @@ class _SummaryPlayerName extends StatelessWidget { final brightness = Theme.of(context).brightness; return TableCell( - verticalAlignment: TableCellVerticalAlignment.bottom, + verticalAlignment: TableCellVerticalAlignment.top, child: Center( child: Padding( padding: const EdgeInsets.only(bottom: 5),