Skip to content

Commit

Permalink
Start fetching history entries sooner
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Nov 27, 2023
1 parent 92773bd commit e258f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pub_stats/lib/view/widget/stats/diff_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DiffList extends StatelessWidget {
builder: (context, snap, child) => SliverList(
delegate: SliverChildBuilderDelegate(
(context, index) {
if (index == snap.docs.length - 1) {
if (index == snap.docs.length - 4) {
snap.fetchMore();
}

Expand Down

0 comments on commit e258f65

Please sign in to comment.