From 869e13e26ac26026b90466e80e2a9cb074aa994b Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 24 May 2020 19:49:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/ReadBookConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {