Simplify agent detail header to Back only

Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
Tom Brow
2026-10-19 18:08:46 -07:00
parent 8647d3f3f9
commit 47a24bff23

View File

@@ -70,18 +70,14 @@ class _AgentsNavigation extends HookConsumerWidget {
color: context.colors.surface,
child: SizedBox.expand(
child: BuzzTitledSheetLayout(
title: 'Agent',
title: '',
leading: IconButton(
tooltip: 'Back',
icon: const Icon(Icons.arrow_back_ios_new),
onPressed: () =>
Navigator.of(detailContext).pop(),
),
trailing: IconButton(
tooltip: 'Close',
icon: const Icon(Icons.close),
onPressed: () => Navigator.of(context).pop(),
),
trailing: const SizedBox.shrink(),
child: UserProfileSheet(
pubkey: pubkey,
primaryActionsSpacing: Grid.md,