Comment list

This commit is contained in:
2024-11-11 20:06:00 +08:00
parent 9df9674ada
commit 1ff4dc2a4b
11 changed files with 233 additions and 81 deletions

View File

@ -168,6 +168,7 @@ class _ExploreScreenState extends State<ExploreScreen> {
SliverInfiniteList(
itemCount: _posts.length,
isLoading: _isBusy,
centerLoading: true,
hasReachedMax: _postCount != null && _posts.length >= _postCount!,
onFetchData: _fetchPosts,
itemBuilder: (context, idx) {
@ -182,8 +183,8 @@ class _ExploreScreenState extends State<ExploreScreen> {
},
);
},
separatorBuilder: (context, index) => const Divider(),
)
separatorBuilder: (context, index) => const Divider(height: 1),
),
],
),
),