viewBinding

pull/517/head
gedoor 4 years ago
parent da5622d298
commit 5801607f4c
  1. 2
      app/src/main/java/io/legado/app/base/BaseActivity.kt

@ -73,9 +73,9 @@ abstract class BaseActivity<VB : ViewBinding>(
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<TitleBar>(R.id.title_bar)
?.onMultiWindowModeChanged(isInMultiWindowMode, fullScreen)

Loading…
Cancel
Save