Use success color for edit button
This commit is contained in:
parent
e12c7c6f33
commit
9d048ea9da
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue