From 11e7829d5571c307fd26da3a492bfcb31bbba3c2 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Mon, 21 Jul 2025 23:09:39 +0200 Subject: [PATCH] update container topic ui --- .../tabs/presentation/widgets/container_title.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart b/app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart index 83b05e33..7ece1c4c 100644 --- a/app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart +++ b/app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart @@ -29,11 +29,10 @@ class ContainerTitle extends HookConsumerWidget { ); return topicAsync.when( - skipLoadingOnReload: true, data: (data) => data.mapNotNull( - (name) => RichText( - text: TextSpan( + (name) => Text.rich( + TextSpan( children: [ TextSpan(text: name), const WidgetSpan(child: SizedBox(width: 4)), @@ -55,7 +54,8 @@ class ContainerTitle extends HookConsumerWidget { return const Text('Untitled'); }, - loading: () => const Skeletonizer(child: Text('container')), + loading: () => + Skeletonizer(child: Text(topicAsync.valueOrNull ?? 'container')), ); } }