From a605cc4d697db6d7c5a5406fd380847dd834942f Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 21 Aug 2019 19:22:45 +0800 Subject: [PATCH] up --- .../legado/app/ui/readbook/config/ReadStyleDialog.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt index ef10c357c..6f6611f93 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt @@ -12,7 +12,7 @@ import io.legado.app.constant.Bus import io.legado.app.help.ImageLoader import io.legado.app.help.ReadBookConfig import io.legado.app.lib.theme.accentColor -import io.legado.app.lib.theme.primaryTextColor +import io.legado.app.lib.theme.primaryColor import io.legado.app.utils.postEvent import kotlinx.android.synthetic.main.dialog_read_book_style.* import org.jetbrains.anko.sdk27.listeners.onClick @@ -111,11 +111,11 @@ class ReadStyleDialog : DialogFragment() { } private fun upBg() { - bg0.borderColor = requireContext().primaryTextColor - bg1.borderColor = requireContext().primaryTextColor - bg2.borderColor = requireContext().primaryTextColor - bg3.borderColor = requireContext().primaryTextColor - bg4.borderColor = requireContext().primaryTextColor + bg0.borderColor = requireContext().primaryColor + bg1.borderColor = requireContext().primaryColor + bg2.borderColor = requireContext().primaryColor + bg3.borderColor = requireContext().primaryColor + bg4.borderColor = requireContext().primaryColor when (ReadBookConfig.styleSelect) { 1 -> { bg1.borderColor = requireContext().accentColor