소스 검색

Merge pull request #1012 from richardshiue/fix-disabled-icon-color

fix: disabled icon color in grid header menu
Nathan.fooo 2 년 전
부모
커밋
4becc2eb75
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/field_cell_action_sheet.dart

+ 2 - 1
frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/field_cell_action_sheet.dart

@@ -167,7 +167,8 @@ class FieldActionCell extends StatelessWidget {
           onTap();
         }
       },
-      leftIcon: svgWidget(action.iconName(), color: theme.iconColor),
+      leftIcon: svgWidget(action.iconName(),
+        color: enable ? theme.iconColor : theme.disableIconColor),
     );
   }
 }