Fix status/navigation bar colors (fixes #2858)

This commit is contained in:
arkon
2020-04-10 18:07:09 -04:00
parent aa70be525d
commit 7c7d40ea44
6 changed files with 6 additions and 24 deletions
@@ -37,10 +37,6 @@ class WebViewActivity : BaseActivity() {
binding = WebviewActivityBinding.inflate(layoutInflater)
setContentView(binding.root)
// Manually override status bar color since it's normally transparent with the app themes
// This is needed to hide the app bar when it scrolls up
window.statusBarColor = getResourceColor(R.attr.colorPrimaryDark)
title = intent.extras?.getString(TITLE_KEY)
setSupportActionBar(binding.toolbar)
supportActionBar?.setDisplayHomeAsUpEnabled(true)