From 1fbef0b349ad38c1669f236abafb7f44d7ac8aec Mon Sep 17 00:00:00 2001 From: Tom Brow Date: Mon, 19 Oct 2026 18:07:07 -0700 Subject: [PATCH] Shorten remote agent action label to Delete Signed-off-by: Tom Brow --- mobile/lib/prototype/delete_agent_action.dart | 2 +- mobile/test/prototype/deletion_contract_test.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/lib/prototype/delete_agent_action.dart b/mobile/lib/prototype/delete_agent_action.dart index 46731b4895..84f53d9dc4 100644 --- a/mobile/lib/prototype/delete_agent_action.dart +++ b/mobile/lib/prototype/delete_agent_action.dart @@ -101,7 +101,7 @@ class DeleteAgentAction extends HookConsumerWidget { borderRadius: BorderRadius.circular(Radii.dialog), ), ), - child: Text(controller.busy ? 'Working…' : 'Delete agent'), + child: Text(controller.busy ? 'Working…' : 'Delete'), ), if (error.value != null) Text(error.value!, style: TextStyle(color: context.colors.error)), diff --git a/mobile/test/prototype/deletion_contract_test.dart b/mobile/test/prototype/deletion_contract_test.dart index a215468b34..09ce5b78f4 100644 --- a/mobile/test/prototype/deletion_contract_test.dart +++ b/mobile/test/prototype/deletion_contract_test.dart @@ -99,8 +99,8 @@ void main() { ), ); await tester.pumpAndSettle(); - expect(find.text('Delete agent'), findsOneWidget); - await tester.tap(find.text('Delete agent')); + expect(find.text('Delete'), findsOneWidget); + await tester.tap(find.text('Delete')); await tester.pumpAndSettle(); expect(find.text('Delete Scout?'), findsOneWidget); expect(registry.calls, isEmpty);