Fixed jumping categories while searching library
This commit is contained in:
parent
7d7afd474e
commit
b791c6c2d8
1 changed files with 1 additions and 1 deletions
|
@ -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? {
|
||||||
|
|
Reference in a new issue