Browse Source

Fix hide icon color

Neeraj Gupta 2 năm trước cách đây
mục cha
commit
ed40f76f87
1 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 7 4
      lib/ui/viewer/file/fading_app_bar.dart

+ 7 - 4
lib/ui/viewer/file/fading_app_bar.dart

@@ -183,12 +183,15 @@ class FadingAppBarState extends State<FadingAppBar> {
               PopupMenuItem(
                 value: 4,
                 child: Row(
-                  children: const [
-                    Icon(Icons.visibility_off),
-                    Padding(
+                  children: [
+                    Icon(
+                      Icons.visibility_off,
+                      color: Theme.of(context).iconTheme.color,
+                    ),
+                    const Padding(
                       padding: EdgeInsets.all(8),
                     ),
-                    Text("Hide"),
+                    const Text("Hide"),
                   ],
                 ),
               ),