From 5c14b044eb2915236d01d61e251692e1d7b51e8e Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 9 Sep 2020 21:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E6=8D=A2?= =?UTF-8?q?=E6=BA=90=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/help/ReadBook.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/service/help/ReadBook.kt b/app/src/main/java/io/legado/app/service/help/ReadBook.kt index 4eece2fb3..e8485261c 100644 --- a/app/src/main/java/io/legado/app/service/help/ReadBook.kt +++ b/app/src/main/java/io/legado/app/service/help/ReadBook.kt @@ -85,8 +85,10 @@ object ReadBook { } fun upMsg(msg: String?) { - this.msg = msg - callBack?.upContent() + if (this.msg != msg) { + this.msg = msg + callBack?.upContent() + } } fun moveToNextPage() {