Merge pull request #2 from gedoor/master

Pull Update from owner repo
pull/369/head^2
SkyNight 4 years ago committed by GitHub
commit 62bfefb8ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/assets/updateLog.md
  2. 2
      app/src/main/java/io/legado/app/help/ThemeConfig.kt
  3. 1
      app/src/main/java/io/legado/app/ui/config/ThemeListDialog.kt

@ -3,9 +3,10 @@
* 关注合作公众号 **[小说拾遗]()** 获取好看的小说。
- 旧版数据导入教程:先在旧版阅读(2.x)中进行备份,然后在新版阅读(3.x)【我的】->【备份与恢复】,选择【导入旧版本数据】。
**2020/09/08**
**2020/09/09**
* 修复主题导入导出bug
* 优化分屏模式状态栏
* 书源基本属性增加“书源注释”
**2020/09/08**
* 页眉页脚跟随背景

@ -44,7 +44,6 @@ object ThemeConfig {
fun addConfig(json: String) {
GSON.fromJsonObject<Config>(json)?.let {
addConfig(it)
save()
}
}
@ -56,6 +55,7 @@ object ThemeConfig {
}
}
configList.add(newConfig)
save()
}
private fun getConfigs(): List<Config>? {

@ -86,6 +86,7 @@ class ThemeListDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener {
alert(R.string.delete, R.string.sure_del) {
okButton {
ThemeConfig.configList.removeAt(index)
ThemeConfig.save()
initData()
}
noButton()

Loading…
Cancel
Save