开放全局背景图片功能

pull/967/head
gedoor 4 years ago
parent 39fedaf1f8
commit d7a952d018
  1. 2
      app/src/main/java/io/legado/app/base/BaseActivity.kt

@ -172,14 +172,12 @@ abstract class BaseActivity<VB : ViewBinding>(
ATH.applyBackgroundTint(window.decorView) ATH.applyBackgroundTint(window.decorView)
} }
} }
if (AppConfig.isGooglePlay) {
ThemeConfig.getBgImage(this)?.let { ThemeConfig.getBgImage(this)?.let {
kotlin.runCatching { kotlin.runCatching {
window.decorView.background = it window.decorView.background = it
} }
} }
} }
}
private fun setupSystemBar() { private fun setupSystemBar() {
if (fullScreen && !isInMultiWindow) { if (fullScreen && !isInMultiWindow) {

Loading…
Cancel
Save