edit Backup.kt

pull/840/head
gedoor 4 years ago
parent 2c452b19ef
commit 1790a56e3f
  1. 1
      app/src/main/java/io/legado/app/help/storage/Backup.kt

@ -75,6 +75,7 @@ object Backup {
} }
GSON.toJson(ReadBookConfig.shareConfig).let { GSON.toJson(ReadBookConfig.shareConfig).let {
FileUtils.createFileIfNotExist(backupPath + File.separator + ReadBookConfig.shareConfigFileName) FileUtils.createFileIfNotExist(backupPath + File.separator + ReadBookConfig.shareConfigFileName)
.writeText(it)
} }
GSON.toJson(ThemeConfig.configList).let { GSON.toJson(ThemeConfig.configList).let {
FileUtils.createFileIfNotExist(backupPath + File.separator + ThemeConfig.configFileName) FileUtils.createFileIfNotExist(backupPath + File.separator + ThemeConfig.configFileName)

Loading…
Cancel
Save