some fixes to the appbar in library

This commit is contained in:
Jays2Kings 2022-04-23 04:19:11 -04:00
parent baba5500c2
commit fc4bb9c36f

View file

@ -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)