mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user