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

fix: disabled icon color in grid header menu
This commit is contained in:
Nathan.fooo 2022-09-10 17:34:24 +08:00 committed by GitHub
commit 4becc2eb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),
);
}
}