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');
|
final label = localization.lookup('$action');
|
||||||
|
|
||||||
return OutlinedButton(
|
return OutlinedButton(
|
||||||
|
style: action == EntityAction.edit
|
||||||
|
? ButtonStyle(
|
||||||
|
backgroundColor: MaterialStateProperty.all(
|
||||||
|
state.prefState.colorThemeModel
|
||||||
|
.colorSuccess))
|
||||||
|
: null,
|
||||||
child: IconText(
|
child: IconText(
|
||||||
icon: getEntityActionIcon(action),
|
icon: getEntityActionIcon(action),
|
||||||
text: label,
|
text: label,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue