Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-18 16:56:43 +08:00
parent f642bfcf48
commit ab80b2a5af
24 changed files with 876 additions and 871 deletions

View File

@@ -30,26 +30,21 @@ class _FollowSearchPageState extends CommonSearchPageState<FollowSearchPage,
@override
Widget buildList(List<FollowItemModel> list) {
return SliverPadding(
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).padding.bottom + 80,
),
sliver: SliverList.builder(
itemCount: list.length,
itemBuilder: ((context, index) {
if (index == list.length - 1) {
controller.onLoadMore();
}
return FollowItem(
item: list[index],
onSelect: widget.mid != null && widget.isFromSelect != false
? (userModel) {
Get.back(result: userModel);
}
: null,
);
}),
),
return SliverList.builder(
itemCount: list.length,
itemBuilder: ((context, index) {
if (index == list.length - 1) {
controller.onLoadMore();
}
return FollowItem(
item: list[index],
onSelect: widget.mid != null && widget.isFromSelect != false
? (userModel) {
Get.back(result: userModel);
}
: null,
);
}),
);
}
}