mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix starting top padding of recyclers
doesn't change anything really but still
This commit is contained in:
parent
0099dd5523
commit
31980abf28
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ fun Controller.scrollViewWith(
|
|||
var fakeBottomNavView: View? = null
|
||||
if (!customPadding) {
|
||||
recycler.updatePaddingRelative(
|
||||
top = (toolbarHeight ?: 0) + appBarHeight
|
||||
top = (activity?.window?.decorView?.rootWindowInsets?.systemWindowInsetTop ?: 0) +
|
||||
appBarHeight
|
||||
)
|
||||
}
|
||||
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue