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,8 +1181,10 @@ class LibraryController(
|
||||||
activeCategory = pos
|
activeCategory = pos
|
||||||
preferences.lastUsedCategory().set(pos)
|
preferences.lastUsedCategory().set(pos)
|
||||||
binding.libraryGridRecycler.recycler.post {
|
binding.libraryGridRecycler.recycler.post {
|
||||||
activityBinding.appBar.y = 0f
|
if (isControllerVisible) {
|
||||||
activityBinding.appBar.updateAppBarAfterY(binding.libraryGridRecycler.recycler)
|
activityBinding.appBar.y = 0f
|
||||||
|
activityBinding.appBar.updateAppBarAfterY(binding.libraryGridRecycler.recycler)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue