Fixed jumping categories while searching library

This commit is contained in:
Jay 2020-05-20 23:42:41 -04:00
parent 7d7afd474e
commit b791c6c2d8

View file

@ -584,7 +584,7 @@ class LibraryController(
is LibraryHeaderItem -> return item is LibraryHeaderItem -> return item
is LibraryItem -> return item.header is LibraryItem -> return item.header
} }
return null return adapter.headerItems.firstOrNull() as? LibraryHeaderItem
} }
private fun getCategoryOrder(): Int? { private fun getCategoryOrder(): Int? {