From 9e4fd23fb6431b95cf00028751428cab1dfc6ddc Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 28 Feb 2020 15:17:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 63b59278f..57ccd5f14 100644 --- a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt @@ -34,7 +34,7 @@ object ReadBookConfig { var shareLayout = App.INSTANCE.getPrefBoolean(PreferKey.shareLayout) set(value) { field = value - App.INSTANCE.putPrefBoolean(PreferKey.shareLayout) + App.INSTANCE.putPrefBoolean(PreferKey.shareLayout, value) } var pageAnim = App.INSTANCE.getPrefInt(PreferKey.pageAnim) set(value) {