From 369c8ffba098d2d16ee2f7b046ab6b7c3bd7784d Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 10 Sep 2019 10:37:32 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/base/BaseActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c02f4731a..dacf41b3a 100644 --- a/app/src/main/java/io/legado/app/base/BaseActivity.kt +++ b/app/src/main/java/io/legado/app/base/BaseActivity.kt @@ -85,7 +85,7 @@ abstract class BaseActivity(private val layoutID: Int, private val fullScreen: B window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_STABLE } - ATH.setStatusBarColorAuto(this, fullScreen) + ATH.setStatusBarColorAuto(window, fullScreen) } open fun observeLiveBus() {