mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 18:31:51 +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