mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 22:35:22 +01:00
Offset appbar using margin instead (maybe fixes #4819)
This commit is contained in:
parent
27f55f8098
commit
15bed1ac4c
@ -95,7 +95,10 @@ class MainActivity : BaseViewBindingActivity<MainActivityBinding>() {
|
|||||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||||
binding.appbar.applyInsetter {
|
binding.appbar.applyInsetter {
|
||||||
type(navigationBars = true, statusBars = true) {
|
type(navigationBars = true, statusBars = true) {
|
||||||
padding(left = true, top = true, right = true)
|
padding(left = true, right = true)
|
||||||
|
}
|
||||||
|
type(statusBars = true) {
|
||||||
|
margin(top = true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
binding.bottomNav.applyInsetter {
|
binding.bottomNav.applyInsetter {
|
||||||
|
Loading…
Reference in New Issue
Block a user