Skip to content

Commit

Permalink
DEV UPDATE:Fix search page load error
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy committed Jan 30, 2023
1 parent b970ffb commit 42c6219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/routes/picture/pictureList.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class _PictureListState extends State<PictureList> {
// ),
// ),
),
itemCount: dynamicList.length + 1,
itemCount: dynamicList.length,
),
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/video/videoSearchPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class _VideoSearchPageState extends State<VideoSearchPage> {
child: VideoSearchItem(video: videoList[i]),
),
),
itemCount: videoList.length == 0 ? 0 : videoList.length + 1,
itemCount: videoList.length == 0 ? 0 : videoList.length,
),
),
);
Expand Down

0 comments on commit 42c6219

Please sign in to comment.