From 9d048ea9dab66ab70f23c751a6f7a30a36c17b75 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 4 Sep 2022 13:08:00 +0300 Subject: [PATCH] Use success color for edit button --- lib/ui/app/entity_top_filter.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ui/app/entity_top_filter.dart b/lib/ui/app/entity_top_filter.dart index cfe7e69ba..166c44f16 100644 --- a/lib/ui/app/entity_top_filter.dart +++ b/lib/ui/app/entity_top_filter.dart @@ -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,