feat: 优化代码

pull/133/head
kunfei 5 years ago
parent 051fcc090a
commit 2501b883d8
  1. 1
      app/src/main/java/io/legado/app/help/storage/Restore.kt

@ -108,6 +108,7 @@ object Restore {
edit.putInt(PreferKey.versionCode, App.INSTANCE.versionCode) edit.putInt(PreferKey.versionCode, App.INSTANCE.versionCode)
edit.apply() edit.apply()
} }
App.INSTANCE.applyDayNight()
ReadBookConfig.apply { ReadBookConfig.apply {
styleSelect = App.INSTANCE.getPrefInt(PreferKey.readStyleSelect) styleSelect = App.INSTANCE.getPrefInt(PreferKey.readStyleSelect)
shareLayout = App.INSTANCE.getPrefBoolean(PreferKey.shareLayout) shareLayout = App.INSTANCE.getPrefBoolean(PreferKey.shareLayout)

Loading…
Cancel
Save