From c99355e50439880d276255f3658ced613faec8b0 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 6 Mar 2020 21:22:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt index cb4c11325..3c2bbb78a 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt @@ -143,14 +143,17 @@ class ReadStyleDialog : DialogFragment(), FontSelectDialog.CallBack { } iv_default1.onClick { ReadBookConfig.lineSpacingExtra = 16 + ReadBookConfig.paragraphSpacing = 6 postEvent(EventBus.UP_CONFIG, true) } iv_default2.onClick { ReadBookConfig.lineSpacingExtra = 13 + ReadBookConfig.paragraphSpacing = 3 postEvent(EventBus.UP_CONFIG, true) } iv_default3.onClick { ReadBookConfig.lineSpacingExtra = 10 + ReadBookConfig.paragraphSpacing = 0 postEvent(EventBus.UP_CONFIG, true) } bg0.onClick { changeBg(0) }