improve title

This commit is contained in:
Fabian Freund
2025-12-22 09:47:38 +01:00
parent fae6b774a6
commit ba4534a896
4 changed files with 21 additions and 19 deletions
@@ -55,7 +55,7 @@ class WebsiteTitleTile extends HookConsumerWidget {
),
contentPadding: EdgeInsets.zero,
title: Text(
info.title.whenNotEmpty ?? 'Untitled',
info.title.whenNotEmpty ?? info.url.authority,
maxLines: 6,
overflow: TextOverflow.ellipsis,
),
@@ -77,7 +77,7 @@ class WebsiteTitleTile extends HookConsumerWidget {
width: 24,
),
contentPadding: EdgeInsets.zero,
title: Text(initialTabState.title.whenNotEmpty ?? 'Untitled'),
title: Text(initialTabState.titleOrAuthority),
subtitle: UriBreadcrumb(uri: initialTabState.url),
),
),