mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-29 13:50:21 +08:00
17 lines
617 B
Diff
17 lines
617 B
Diff
diff --git a/packages/flutter/lib/src/material/popup_menu.dart b/packages/flutter/lib/src/material/popup_menu.dart
|
|
index 8b84b2760d5..6ff222c4541 100644
|
|
--- a/packages/flutter/lib/src/material/popup_menu.dart
|
|
+++ b/packages/flutter/lib/src/material/popup_menu.dart
|
|
@@ -446,6 +446,11 @@ class PopupMenuItemState<T, W extends PopupMenuItem<T>> extends State<W> {
|
|
data: IconThemeData(opacity: isDark ? 0.5 : 0.38),
|
|
child: item,
|
|
);
|
|
+ } else {
|
|
+ item = IconTheme.merge(
|
|
+ data: IconThemeData(color: style.color),
|
|
+ child: item,
|
|
+ );
|
|
}
|
|
|
|
return MergeSemantics(
|