diff --git a/mobile/lib/prototype/delete_agent_action.dart b/mobile/lib/prototype/delete_agent_action.dart index 2c8b4f430b..46731b4895 100644 --- a/mobile/lib/prototype/delete_agent_action.dart +++ b/mobile/lib/prototype/delete_agent_action.dart @@ -86,13 +86,22 @@ class DeleteAgentAction extends HookConsumerWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - OutlinedButton.icon( + FilledButton( onPressed: controller.busy ? null : remove, - style: OutlinedButton.styleFrom( + style: FilledButton.styleFrom( + minimumSize: const Size(double.infinity, Grid.xxl), + padding: const EdgeInsets.symmetric( + horizontal: Grid.gutter, + vertical: Grid.xs, + ), + backgroundColor: context.colors.surfaceContainerHighest, foregroundColor: context.colors.error, + textStyle: context.textTheme.titleSmall, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(Radii.dialog), + ), ), - icon: const Icon(Icons.delete_outline), - label: Text(controller.busy ? 'Working…' : 'Delete agent'), + child: Text(controller.busy ? 'Working…' : 'Delete agent'), ), if (error.value != null) Text(error.value!, style: TextStyle(color: context.colors.error)),