Skip to content

Commit 11e7829

Browse files
committed
update container topic ui
1 parent 4c4c715 commit 11e7829

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ class ContainerTitle extends HookConsumerWidget {
2929
);
3030

3131
return topicAsync.when(
32-
skipLoadingOnReload: true,
3332
data: (data) =>
3433
data.mapNotNull(
35-
(name) => RichText(
36-
text: TextSpan(
34+
(name) => Text.rich(
35+
TextSpan(
3736
children: [
3837
TextSpan(text: name),
3938
const WidgetSpan(child: SizedBox(width: 4)),
@@ -55,7 +54,8 @@ class ContainerTitle extends HookConsumerWidget {
5554

5655
return const Text('Untitled');
5756
},
58-
loading: () => const Skeletonizer(child: Text('container')),
57+
loading: () =>
58+
Skeletonizer(child: Text(topicAsync.valueOrNull ?? 'container')),
5959
);
6060
}
6161
}

0 commit comments

Comments
 (0)