From 8e335affa1ce8e23d5711225267dab3b7a4dfc3a Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 28 Oct 2022 09:07:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt b/app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt index 2d6d007e6..25980274f 100644 --- a/app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt +++ b/app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt @@ -46,6 +46,7 @@ open class WelcomeActivity : BaseActivity() { BitmapUtils.decodeBitmap(path, size.widthPixels, size.heightPixels).let { binding.tvLegado.visible(getPrefBoolean(PreferKey.welcomeShowTextDark)) binding.ivBook.visible(getPrefBoolean(PreferKey.welcomeShowIconDark)) + binding.tvGzh.visible(getPrefBoolean(PreferKey.welcomeShowTextDark)) window.decorView.background = BitmapDrawable(resources, it) return } @@ -55,6 +56,7 @@ open class WelcomeActivity : BaseActivity() { BitmapUtils.decodeBitmap(path, size.widthPixels, size.heightPixels).let { binding.tvLegado.visible(getPrefBoolean(PreferKey.welcomeShowText)) binding.ivBook.visible(getPrefBoolean(PreferKey.welcomeShowIcon)) + binding.tvGzh.visible(getPrefBoolean(PreferKey.welcomeShowText)) window.decorView.background = BitmapDrawable(resources, it) return }