mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 06:09:19 +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
|
var fakeBottomNavView: View? = null
|
||||||
if (!customPadding) {
|
if (!customPadding) {
|
||||||
recycler.updatePaddingRelative(
|
recycler.updatePaddingRelative(
|
||||||
top = (toolbarHeight ?: 0) + appBarHeight
|
top = (activity?.window?.decorView?.rootWindowInsets?.systemWindowInsetTop ?: 0) +
|
||||||
|
appBarHeight
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user