mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 15:16:15 +08:00
@@ -17,7 +17,10 @@ mixin ScrollOrRefreshMixin {
|
||||
if (scrollController.hasClients) {
|
||||
if (scrollController.position.pixels == 0) {
|
||||
EasyThrottle.throttle(
|
||||
'topOrRefresh', const Duration(milliseconds: 500), onRefresh);
|
||||
'topOrRefresh',
|
||||
const Duration(milliseconds: 500),
|
||||
onRefresh,
|
||||
);
|
||||
} else {
|
||||
animateToTop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user