From 91dfdbc86637fb53590d9de3b73138cbfb8f4f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=85=B1=E5=A4=A9=E5=B0=8F=E7=A6=BD=E5=85=BD?= Date: Sun, 10 Apr 2022 23:01:38 +0800 Subject: [PATCH 1/2] screenshot --- README.md | 5 +---- README_cn.md | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0186a46b..4e0123ae 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,7 @@ mush thanks to these projects🙇‍ ## screenshot - - - - + diff --git a/README_cn.md b/README_cn.md index 40700e7f..2fe7a74c 100644 --- a/README_cn.md +++ b/README_cn.md @@ -38,10 +38,7 @@ E-hentai 的一个移动端app。 ## 截图 - - - - + From 10cff2542d26bda94ed2fda0309b124fd37a73ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=85=B1=E5=A4=A9=E5=B0=8F=E7=A6=BD=E5=85=BD?= Date: Sun, 10 Apr 2022 23:16:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E6=8D=AE=E6=97=B6=E7=9A=84=E5=A4=84=E7=90=86?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/utils/eh_spider_parser.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils/eh_spider_parser.dart b/lib/src/utils/eh_spider_parser.dart index e73dc90f..6ca7e676 100644 --- a/lib/src/utils/eh_spider_parser.dart +++ b/lib/src/utils/eh_spider_parser.dart @@ -961,6 +961,6 @@ class EHSpiderParser { /// remove empty data int beginIndex = stats.indexWhere((stat) => stat.visits > 0); - return stats.sublist(beginIndex); + return beginIndex == -1 ? [] : stats.sublist(beginIndex); } }