diff --git a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt index cbc9fbd77..ab248287d 100644 --- a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt @@ -103,10 +103,10 @@ object ReadBookConfig { } //配置写入读取 - var autoReadSpeed - get() = App.INSTANCE.getPrefInt(PreferKey.autoReadSpeed, 46) + var autoReadSpeed = App.INSTANCE.getPrefInt(PreferKey.autoReadSpeed, 46) set(value) { App.INSTANCE.putPrefInt(PreferKey.autoReadSpeed, value) + field = value } var styleSelect = App.INSTANCE.getPrefInt(PreferKey.readStyleSelect) set(value) {