Skip to content

Commit

Permalink
Improve desc of daily puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Apr 12, 2024
1 parent 2e78f74 commit 3f6ae0e
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions lib/src/view/puzzle/puzzle_tab_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -479,14 +479,24 @@ class _DailyPuzzle extends ConsumerWidget {
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Text(
context.l10n.puzzlePuzzleOfTheDay,
style: Styles.boardPreviewTitle,
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
context.l10n.puzzlePuzzleOfTheDay,
style: Styles.boardPreviewTitle,
),
Text(
context.l10n
.puzzlePlayedXTimes(data.puzzle.plays)
.localizeNumbers(),
),
],
),
Text(
context.l10n
.puzzlePlayedXTimes(data.puzzle.plays)
.localizeNumbers(),
data.puzzle.initialPly.isOdd
? context.l10n.whitePlays
: context.l10n.blackPlays,
),
],
),
Expand Down

0 comments on commit 3f6ae0e

Please sign in to comment.