From f606aa7b2ba3d4585ad461540d658ba9404b8608 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Tue, 2 Jul 2024 11:26:46 +0200 Subject: [PATCH] use all space for gesture detector --- .../presentation/widgets/app_bar_title.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/lib/features/search_browser/presentation/widgets/app_bar_title.dart b/app/lib/features/search_browser/presentation/widgets/app_bar_title.dart index e8acaf07..97803fd4 100644 --- a/app/lib/features/search_browser/presentation/widgets/app_bar_title.dart +++ b/app/lib/features/search_browser/presentation/widgets/app_bar_title.dart @@ -79,10 +79,12 @@ class AppBarTitle extends HookConsumerWidget { const SizedBox( width: 4, ), - Text( - page.url.authority, - style: theme.textTheme.bodyMedium - ?.copyWith(color: theme.colorScheme.onSurface), + Expanded( + child: Text( + page.url.authority, + style: theme.textTheme.bodyMedium + ?.copyWith(color: theme.colorScheme.onSurface), + ), ), ], ),