feat: 优化代码

pull/121/head
kunfei 5 years ago
parent c380d1e7e7
commit 9e4fd23fb6
  1. 2
      app/src/main/java/io/legado/app/help/ReadBookConfig.kt

@ -34,7 +34,7 @@ object ReadBookConfig {
var shareLayout = App.INSTANCE.getPrefBoolean(PreferKey.shareLayout) var shareLayout = App.INSTANCE.getPrefBoolean(PreferKey.shareLayout)
set(value) { set(value) {
field = value field = value
App.INSTANCE.putPrefBoolean(PreferKey.shareLayout) App.INSTANCE.putPrefBoolean(PreferKey.shareLayout, value)
} }
var pageAnim = App.INSTANCE.getPrefInt(PreferKey.pageAnim) var pageAnim = App.INSTANCE.getPrefInt(PreferKey.pageAnim)
set(value) { set(value) {

Loading…
Cancel
Save