From 15b39157d922cab63f6e616e1252648e8b85a98c Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 28 Aug 2020 14:50:01 +0800 Subject: [PATCH] =?UTF-8?q?e-ink=E6=A8=A1=E5=BC=8F=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/ReadBookConfig.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt index 74f8617df..c6c71598c 100644 --- a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt @@ -29,13 +29,7 @@ object ReadBookConfig { var bg: Drawable? = null var bgMeanColor: Int = 0 - val textColor: Int - get() = - if (AppConfig.isEInkMode && !AppConfig.isNightTheme) { - Color.BLACK - } else { - durConfig.textColor() - } + val textColor: Int get() = durConfig.textColor() init { upConfig()