开放全局背景图片功能

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

@ -172,11 +172,9 @@ 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
}
} }
} }
} }

Loading…
Cancel
Save