Fixed offset in scroll to category header

This commit is contained in:
Jay 2020-05-08 01:40:16 -04:00
parent 1c9cb7644c
commit 04283970ca

View File

@ -758,7 +758,7 @@ class LibraryController(
headerPosition, (when {
headerPosition == 0 -> 0
previousHeader?.category?.isHidden == true -> (-3).dpToPx
else -> (-32).dpToPx
else -> (-30).dpToPx
}) + appbarOffset
)
recycler.suppressLayout(false)