From a94d73a9e692763973d167dec205cb491cfecf11 Mon Sep 17 00:00:00 2001 From: 821938089 <821938089@qq.com> Date: Sun, 24 Jul 2022 18:20:26 +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/config/BgTextConfigDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt index 4105d7ea5..0f357bcc9 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/BgTextConfigDialog.kt @@ -160,7 +160,7 @@ class BgTextConfigDialog : BaseDialogFragment(R.layout.dialog_read_bg_text) { val layoutNames = defaultConfigs.map { it.name } context?.selector("选择预设布局", layoutNames) { _, i -> if (i >= 0) { - ReadBookConfig.durConfig = defaultConfigs[i] + ReadBookConfig.durConfig = defaultConfigs[i].copy() initData() postEvent(EventBus.UP_CONFIG, true) }