This commit is contained in:
orz12
2024-08-25 23:50:27 +08:00
parent 2be8e9a56a
commit a7bfd4b156

View File

@@ -63,9 +63,9 @@ class _DynamicsPageState extends State<DynamicsPage>
scrollController.addListener(() {
if (scrollController.position.pixels >=
scrollController.position.maxScrollExtent - 300) {
EasyThrottle.throttle('following', const Duration(seconds: 1), () {
_dynamicsController.queryFollowing2();
});
EasyThrottle.throttle('following', const Duration(seconds: 1), () {
_dynamicsController.queryFollowing2();
});
}
});
}