From 06d486c96c3dc327fa42dee0eeae2b2c24f9b9b0 Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Sat, 11 May 2024 06:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/ReadBookActivity.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index b116c77fa..26d9f7586 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -1304,7 +1304,7 @@ class ReadBookActivity : BaseReadBookActivity(), when (dialogId) { TEXT_COLOR -> { setCurTextColor(color) - postEvent(EventBus.UP_CONFIG, arrayListOf(2, 9, 11)) + postEvent(EventBus.UP_CONFIG, arrayListOf(2, 6, 9, 11)) } BG_COLOR -> { @@ -1500,9 +1500,9 @@ class ReadBookActivity : BaseReadBookActivity(), 5 -> if (isInitFinish) ReadBook.loadContent(resetPageOffset = false) 6 -> readView.upContent(resetPageOffset = false) 8 -> ChapterProvider.upStyle() - 9 -> binding.readView.invalidateTextPage() + 9 -> readView.invalidateTextPage() 10 -> ChapterProvider.upLayout() - 11 -> binding.readView.submitRenderTask() + 11 -> readView.submitRenderTask() } } } @@ -1543,10 +1543,10 @@ class ReadBookActivity : BaseReadBookActivity(), viewModel.searchResultList = it } observeEvent(EventBus.UPDATE_READ_ACTION_BAR) { - binding.readMenu.reset() + readMenu.reset() } observeEvent(EventBus.UP_SEEK_BAR) { - binding.readMenu.upSeekBar() + readMenu.upSeekBar() } }