From 5801607f4c7b54af9eb28666ce679f5466900e22 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 2 Dec 2020 09:27:25 +0800 Subject: [PATCH] viewBinding --- 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 303e2472c..eb297383c 100644 --- a/app/src/main/java/io/legado/app/base/BaseActivity.kt +++ b/app/src/main/java/io/legado/app/base/BaseActivity.kt @@ -73,9 +73,9 @@ abstract class BaseActivity( override fun onCreate(savedInstanceState: Bundle?) { window.decorView.disableAutoFill() initTheme() - setupSystemBar() super.onCreate(savedInstanceState) setContentView(binding.root) + setupSystemBar() if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { findViewById(R.id.title_bar) ?.onMultiWindowModeChanged(isInMultiWindowMode, fullScreen)