pull/2508/head
kunfei 2 years ago
parent 768c76fc2e
commit 8e335affa1
  1. 2
      app/src/main/java/io/legado/app/ui/welcome/WelcomeActivity.kt

@ -46,6 +46,7 @@ open class WelcomeActivity : BaseActivity<ActivityWelcomeBinding>() {
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<ActivityWelcomeBinding>() {
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
}

Loading…
Cancel
Save