From 65c9c4fedea83d5de95ea8aa6b902f11dd92fccb Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 28 Aug 2021 19:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=98=85=E8=AF=BB=E7=9A=84?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=94=B9=E4=B8=BA=E9=80=89=E6=8B=A9=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/config/AutoReadDialog.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt index bd7b835b8..f2c3e2c6f 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/AutoReadDialog.kt @@ -13,6 +13,7 @@ import io.legado.app.lib.theme.getPrimaryTextColor import io.legado.app.service.BaseReadAloudService import io.legado.app.service.help.ReadAloud import io.legado.app.ui.book.read.ReadBookActivity +import io.legado.app.ui.book.read.ReadBookBaseActivity import io.legado.app.ui.widget.seekbar.SeekBarChangeListener import io.legado.app.utils.ColorUtils import io.legado.app.utils.viewbindingdelegate.viewBinding @@ -99,7 +100,9 @@ class AutoReadDialog : BaseDialogFragment() { dismissAllowingStateLoss() } binding.llSetting.setOnClickListener { - ReadAloudConfigDialog().show(childFragmentManager, "readAloudConfigDialog") + (activity as ReadBookBaseActivity).showPageAnimConfig { + (activity as ReadBookActivity).upPageAnim() + } } binding.llCatalog.setOnClickListener { callBack?.openChapterList() } binding.llAutoPageStop.setOnClickListener {