fix: status bar doesn't follow app theme

This commit is contained in:
Bnyro 2024-05-06 00:11:58 +02:00
parent 6466e9e604
commit 7cd05c15c4

View File

@ -50,7 +50,7 @@ open class BaseActivity : AppCompatActivity() {
// wait for the window decor view to be drawn before detecting display cutouts
window.decorView.setOnApplyWindowInsetsListener { view, insets ->
hasCutout = WindowHelper.hasCutout(view)
insets
window.decorView.onApplyWindowInsets(insets)
}
super.onCreate(savedInstanceState)