Use success color for edit button

This commit is contained in:
Hillel Coren 2022-09-04 13:08:00 +03:00
parent e12c7c6f33
commit 9d048ea9da
1 changed files with 6 additions and 0 deletions

View File

@ -373,6 +373,12 @@ class EntityTopFilterHeader extends StatelessWidget {
final label = localization.lookup('$action');
return OutlinedButton(
style: action == EntityAction.edit
? ButtonStyle(
backgroundColor: MaterialStateProperty.all(
state.prefState.colorThemeModel
.colorSuccess))
: null,
child: IconText(
icon: getEntityActionIcon(action),
text: label,