From 142829313cc53670781adc4a5b57a67017ca3c79 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Mon, 7 Dec 2020 11:27:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9C=AC=E5=9C=B0=E4=B9=A6?= =?UTF-8?q?=E7=B1=8D=E9=98=85=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/fycz/myreader/widget/page/LocalPageLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/xyz/fycz/myreader/widget/page/LocalPageLoader.java b/app/src/main/java/xyz/fycz/myreader/widget/page/LocalPageLoader.java index 2171388..535c42c 100644 --- a/app/src/main/java/xyz/fycz/myreader/widget/page/LocalPageLoader.java +++ b/app/src/main/java/xyz/fycz/myreader/widget/page/LocalPageLoader.java @@ -129,8 +129,8 @@ public class LocalPageLoader extends PageLoader { preChapter.setStart(0); preChapter.setEnd(chapterContent.getBytes(mCharset).length); //获取String的byte值,作为最终值 - //如果序章大小大于30才添加进去 - if (preChapter.getEnd() - preChapter.getStart() > 30) { + //如果序章大小大于500才添加进去 + if (preChapter.getEnd() - preChapter.getStart() > 500) { mChapterList.add(preChapter); }else { //加入简介