We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4c715 commit 11e7829Copy full SHA for 11e7829
app/lib/features/geckoview/features/tabs/presentation/widgets/container_title.dart
@@ -29,11 +29,10 @@ class ContainerTitle extends HookConsumerWidget {
29
);
30
31
return topicAsync.when(
32
- skipLoadingOnReload: true,
33
data: (data) =>
34
data.mapNotNull(
35
- (name) => RichText(
36
- text: TextSpan(
+ (name) => Text.rich(
+ TextSpan(
37
children: [
38
TextSpan(text: name),
39
const WidgetSpan(child: SizedBox(width: 4)),
@@ -55,7 +54,8 @@ class ContainerTitle extends HookConsumerWidget {
55
54
56
return const Text('Untitled');
57
},
58
- loading: () => const Skeletonizer(child: Text('container')),
+ loading: () =>
+ Skeletonizer(child: Text(topicAsync.valueOrNull ?? 'container')),
59
60
}
61
0 commit comments