mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
some fixes to the appbar in library
This commit is contained in:
parent
baba5500c2
commit
fc4bb9c36f
1 changed files with 4 additions and 2 deletions
|
@ -1181,11 +1181,13 @@ class LibraryController(
|
|||
activeCategory = pos
|
||||
preferences.lastUsedCategory().set(pos)
|
||||
binding.libraryGridRecycler.recycler.post {
|
||||
if (isControllerVisible) {
|
||||
activityBinding.appBar.y = 0f
|
||||
activityBinding.appBar.updateAppBarAfterY(binding.libraryGridRecycler.recycler)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun onRefresh() {
|
||||
showCategories(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue