From 19605699f891fa805fce7d146a48fa3fa1073d1b Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 30 Aug 2019 21:52:50 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/lib/theme/TintHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt b/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt index 0caf1b8a8..b7b042ebc 100644 --- a/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt +++ b/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt @@ -127,7 +127,7 @@ object TintHelper { view: View, @ColorInt color: Int, isBackground: Boolean ) { - setTintAuto(view, color, isBackground, ATHUtils.isWindowBackgroundDark(view.context)) + setTintAuto(view, color, isBackground, view.context.isDarkTheme) } fun setTintAuto(