diff --git a/lib/Frontend/Widgets/tail_blog.dart b/lib/Frontend/Widgets/tail_blog.dart index 5b60100f..9523e012 100644 --- a/lib/Frontend/Widgets/tail_blog.dart +++ b/lib/Frontend/Widgets/tail_blog.dart @@ -32,9 +32,9 @@ class _TailBlogState extends State { return AnimatedCrossFade( alignment: Alignment.center, firstChild: feedState == FeedState.loading ? const LinearProgressIndicator() : Container(), - secondChild: ListView.builder( - itemExtent: 300, + secondChild: GridView.builder( controller: widget.controller, + gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent(maxCrossAxisExtent: 500), shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), itemCount: results.length, @@ -61,7 +61,7 @@ class _TailBlogState extends State { return AnimatedOpacity( duration: animationTransitionDuration, opacity: snapshot.hasData ? 1 : 0, - child: snapshot.hasData ? snapshot.data! : Container(), + child: snapshot.hasData ? snapshot.data! : const CircularProgressIndicator(), ); }, )