mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:59:17 +01:00
fix starting top padding of recyclers
doesn't change anything really but still
This commit is contained in:
parent
0099dd5523
commit
31980abf28
@ -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…
Reference in New Issue
Block a user