From d7a952d018833288e6ac3b43144a8644a6ce1ecf Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 1 May 2021 19:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=94=BE=E5=85=A8=E5=B1=80=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E7=89=87=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/base/BaseActivity.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/base/BaseActivity.kt b/app/src/main/java/io/legado/app/base/BaseActivity.kt index 7ae907b99..e89e47642 100644 --- a/app/src/main/java/io/legado/app/base/BaseActivity.kt +++ b/app/src/main/java/io/legado/app/base/BaseActivity.kt @@ -172,11 +172,9 @@ abstract class BaseActivity( ATH.applyBackgroundTint(window.decorView) } } - if (AppConfig.isGooglePlay) { - ThemeConfig.getBgImage(this)?.let { - kotlin.runCatching { - window.decorView.background = it - } + ThemeConfig.getBgImage(this)?.let { + kotlin.runCatching { + window.decorView.background = it } } }