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