pull/2096/head
821938089 2 years ago
parent f09fe55234
commit a94d73a9e6
  1. 2
      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 } val layoutNames = defaultConfigs.map { it.name }
context?.selector("选择预设布局", layoutNames) { _, i -> context?.selector("选择预设布局", layoutNames) { _, i ->
if (i >= 0) { if (i >= 0) {
ReadBookConfig.durConfig = defaultConfigs[i] ReadBookConfig.durConfig = defaultConfigs[i].copy()
initData() initData()
postEvent(EventBus.UP_CONFIG, true) postEvent(EventBus.UP_CONFIG, true)
} }

Loading…
Cancel
Save