Merge pull request #1050 from bushixuanqi/patch-26

Update AppConfig.kt
pull/1059/head
kunfei 3 years ago committed by GitHub
commit 9923dd10ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/src/main/java/io/legado/app/help/AppConfig.kt

@ -102,6 +102,12 @@ object AppConfig : SharedPreferences.OnSharedPreferenceChangeListener {
appCtx.putPrefString(PreferKey.bookExportFileName, value) appCtx.putPrefString(PreferKey.bookExportFileName, value)
} }
var bookImportFileName: String?
get() = appCtx.getPrefString(PreferKey.bookImportFileName)
set(value) {
appCtx.putPrefString(PreferKey.bookImportFileName, value)
}
var backupPath: String? var backupPath: String?
get() = appCtx.getPrefString(PreferKey.backupPath) get() = appCtx.getPrefString(PreferKey.backupPath)
set(value) { set(value) {

Loading…
Cancel
Save