Skip to content

Commit

Permalink
moves_list_page: Change PopupMenuButton color
Browse files Browse the repository at this point in the history
Change-Id: I2f0264b4ad45d0c5674f216e65d2c2241ecd02da
  • Loading branch information
calcitem committed Feb 15, 2025
1 parent 8d855c4 commit 58f60ef
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/ui/flutter_app/lib/game_page/widgets/moves_list_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class MovesListPageState extends State<MovesListPage> {
// Tapping it opens a popup with a horizontal row of icons.
PopupMenuButton<void>(
icon: Icon(_iconForLayout(_currentLayout)),
color: DB().colorSettings.mainToolbarBackgroundColor,
//color: DB().colorSettings.mainToolbarBackgroundColor,
onSelected: (_) {},
itemBuilder: (BuildContext context) {
return <PopupMenuEntry<void>>[
Expand All @@ -388,12 +388,7 @@ class MovesListPageState extends State<MovesListPage> {
return IconButton(
icon: Icon(
_iconForLayout(layout),
color: isSelected
? DB().colorSettings.mainToolbarIconColor
: DB()
.colorSettings
.mainToolbarIconColor
.withAlpha(180),
color: isSelected ? Colors.black : Colors.black87,
),
onPressed: () {
setState(() {
Expand Down

0 comments on commit 58f60ef

Please sign in to comment.