Skip to content

Commit

Permalink
DEV UPDATE:Fix video list scroll bug
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy committed Jan 24, 2023
1 parent 4418647 commit 17a5135
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/routes/video/videoList.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ class _VideoListState extends State<VideoList> {
if (notification.metrics.maxScrollExtent -
notification.metrics.pixels <
1200 &&
notification.metrics.maxScrollExtent -
notification.metrics.pixels >
0 &&
!_loading) {
print(notification.metrics.maxScrollExtent - notification.metrics.pixels);
_getVideos();
}
});
Expand Down

0 comments on commit 17a5135

Please sign in to comment.