Skip to content

Commit

Permalink
Change range grid color (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohei Asai authored Nov 13, 2019
1 parent c91e267 commit d050e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common_widgets/hand_range_select_grid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class HandRangeSelectGridItem extends StatelessWidget {
Widget build(BuildContext context) {
final theme = AquaTheme.of(context);
final backgroundColor = isSelected
? theme.primaryBackgroundColor
? theme.highlightBackgroundColor
: handRangePart.isPocket
? theme.secondaryBackgroundColor
: theme.dimBackgroundColor;
Expand Down
2 changes: 1 addition & 1 deletion lib/common_widgets/readonly_range_grid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ReadonlyRangeGrid extends StatelessWidget {
height: constraints.maxWidth / 13,
decoration: BoxDecoration(
color: handRange.contains(handRangePart)
? theme.primaryBackgroundColor
? theme.highlightBackgroundColor
: null,
borderRadius: borderRadius,
),
Expand Down

0 comments on commit d050e4c

Please sign in to comment.