mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +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)
|
||||
binding.appbar.applyInsetter {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user