feat: 优化代码

pull/141/head
kunfei 5 years ago
parent 8c6b0992e8
commit 51457e25cf
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt

@ -142,11 +142,11 @@ class ReadStyleDialog : DialogFragment(), FontSelectDialog.CallBack {
} }
} }
iv_default1.onClick { iv_default1.onClick {
ReadBookConfig.lineSpacingExtra = 15 ReadBookConfig.lineSpacingExtra = 16
postEvent(EventBus.UP_CONFIG, true) postEvent(EventBus.UP_CONFIG, true)
} }
iv_default2.onClick { iv_default2.onClick {
ReadBookConfig.lineSpacingExtra = 11 ReadBookConfig.lineSpacingExtra = 13
postEvent(EventBus.UP_CONFIG, true) postEvent(EventBus.UP_CONFIG, true)
} }
iv_default3.onClick { iv_default3.onClick {

Loading…
Cancel
Save