From 42c621968ef6a84892f20807a490b6e67e0bb1ad Mon Sep 17 00:00:00 2001 From: misakajimmy Date: Mon, 30 Jan 2023 22:29:53 +0800 Subject: [PATCH] DEV UPDATE:Fix search page load error --- lib/routes/picture/pictureList.dart | 2 +- lib/routes/video/videoSearchPage.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/picture/pictureList.dart b/lib/routes/picture/pictureList.dart index 0a8a34b..19f3ea9 100644 --- a/lib/routes/picture/pictureList.dart +++ b/lib/routes/picture/pictureList.dart @@ -158,7 +158,7 @@ class _PictureListState extends State { // ), // ), ), - itemCount: dynamicList.length + 1, + itemCount: dynamicList.length, ), ); } diff --git a/lib/routes/video/videoSearchPage.dart b/lib/routes/video/videoSearchPage.dart index 30733fb..8071499 100644 --- a/lib/routes/video/videoSearchPage.dart +++ b/lib/routes/video/videoSearchPage.dart @@ -221,7 +221,7 @@ class _VideoSearchPageState extends State { child: VideoSearchItem(video: videoList[i]), ), ), - itemCount: videoList.length == 0 ? 0 : videoList.length + 1, + itemCount: videoList.length == 0 ? 0 : videoList.length, ), ), );