Update AppConfig.kt

新增自定义“导入文件名”选项
pull/1050/head
bushixuanqi 4 years ago committed by GitHub
parent da3fb420f2
commit 30d5435b02
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)
}
var bookImportFileName: String?
get() = appCtx.getPrefString(PreferKey.bookImportFileName)
set(value) {
appCtx.putPrefString(PreferKey.bookImportFileName, value)
}
var backupPath: String?
get() = appCtx.getPrefString(PreferKey.backupPath)
set(value) {

Loading…
Cancel
Save