update container topic ui

This commit is contained in:
Fabian Freund
2025-07-21 23:09:39 +02:00
parent 4c4c7153d3
commit 11e7829d55
@@ -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')),
);
}
}