mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: status bar doesn't follow app theme
This commit is contained in:
parent
6466e9e604
commit
7cd05c15c4
@ -50,7 +50,7 @@ open class BaseActivity : AppCompatActivity() {
|
|||||||
// wait for the window decor view to be drawn before detecting display cutouts
|
// wait for the window decor view to be drawn before detecting display cutouts
|
||||||
window.decorView.setOnApplyWindowInsetsListener { view, insets ->
|
window.decorView.setOnApplyWindowInsetsListener { view, insets ->
|
||||||
hasCutout = WindowHelper.hasCutout(view)
|
hasCutout = WindowHelper.hasCutout(view)
|
||||||
insets
|
window.decorView.onApplyWindowInsets(insets)
|
||||||
}
|
}
|
||||||
|
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
Loading…
Reference in New Issue
Block a user