feat: 优化代码

pull/103/head
kunfei 5 years ago
parent 7b501bd6d8
commit 8297d5884f
  1. 5
      app/src/main/java/io/legado/app/ui/book/read/config/PaddingConfigDialog.kt

@ -44,6 +44,11 @@ class PaddingConfigDialog : DialogFragment() {
initView()
}
override fun onDestroy() {
super.onDestroy()
ReadBookConfig.save()
}
private fun initData() = with(ReadBookConfig.getConfig()) {
//正文
dsb_padding_top.progress = paddingTop

Loading…
Cancel
Save