From a79d45b00b9c9d980fadf3bf9850bcce92ad0b18 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 25 Aug 2019 21:15:02 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 00cc39274..783d79a97 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -408,7 +408,7 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea if (it) { moveToNextChapter() } else { - viewModel.durPageIndex += viewModel.durPageIndex + 1 + viewModel.durPageIndex = viewModel.durPageIndex + 1 page_view.upContent() viewModel.saveRead() }