Skip to content

Commit

Permalink
Merge pull request #620 from HaonRekcef/result_in_analysis
Browse files Browse the repository at this point in the history
add result to gameanalysis
  • Loading branch information
veloce authored Apr 11, 2024
2 parents 9efab79 + 0fce78e commit 90a9077
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/src/view/analysis/analysis_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
],
),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 90a9077

Please sign in to comment.