intermediate
This commit is contained in:
1 parent
ea0880b97a
commit
4a2191b01d
84 files changed
+2655
-1383
No files matched your search
@@ -13,7 +13,9 @@ class WebsiteTitleTile extends HookConsumerWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final pageInfoAsync = ref.watch(pageInfoProvider(url));
|
||||
final pageInfoAsync = (precachedInfo?.isPageInfoComplete ?? false)
|
||||
? AsyncValue.data(precachedInfo!)
|
||||
: ref.watch(pageInfoProvider(url));
|
||||
|
||||
return Skeletonizer(
|
||||
enabled: pageInfoAsync.isLoading && precachedInfo == null,
|
||||
|
||||
Reference in new issue
Block a user