pull/433/head
gedoor 4 years ago
parent 991fa025d5
commit eabc8a2d92
  1. 24
      app/src/main/java/io/legado/app/help/AppConfig.kt

@ -97,30 +97,6 @@ object AppConfig {
App.INSTANCE.putPrefInt(PreferKey.systemTypefaces, value) App.INSTANCE.putPrefInt(PreferKey.systemTypefaces, value)
} }
var bookGroupAllShow: Boolean
get() = App.INSTANCE.getPrefBoolean("bookGroupAll", true)
set(value) {
App.INSTANCE.putPrefBoolean("bookGroupAll", value)
}
var bookGroupLocalShow: Boolean
get() = App.INSTANCE.getPrefBoolean("bookGroupLocal", false)
set(value) {
App.INSTANCE.putPrefBoolean("bookGroupLocal", value)
}
var bookGroupAudioShow: Boolean
get() = App.INSTANCE.getPrefBoolean("bookGroupAudio", false)
set(value) {
App.INSTANCE.putPrefBoolean("bookGroupAudio", value)
}
var bookGroupNoneShow: Boolean
get() = App.INSTANCE.getPrefBoolean("bookGroupNone", false)
set(value) {
App.INSTANCE.putPrefBoolean("bookGroupNone", value)
}
var elevation: Int var elevation: Int
@SuppressLint("PrivateResource") @SuppressLint("PrivateResource")
get() = App.INSTANCE.getPrefInt( get() = App.INSTANCE.getPrefInt(

Loading…
Cancel
Save