mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 05:59:17 +01:00
hopefully fixing crashes with backdrop in library
This commit is contained in:
parent
4f1c309dbd
commit
7605e462df
@ -1015,7 +1015,9 @@ class LibraryController(
|
|||||||
binding.swipeRefresh.isEnabled = !show
|
binding.swipeRefresh.isEnabled = !show
|
||||||
setSubtitle()
|
setSubtitle()
|
||||||
if (show) {
|
if (show) {
|
||||||
|
binding.categoryRecycler.post {
|
||||||
binding.categoryRecycler.scrollToCategory(activeCategory)
|
binding.categoryRecycler.scrollToCategory(activeCategory)
|
||||||
|
}
|
||||||
binding.fastScroller.hideScrollbar()
|
binding.fastScroller.hideScrollbar()
|
||||||
activityBinding?.appBar?.y = 0f
|
activityBinding?.appBar?.y = 0f
|
||||||
elevateAppBar(false)
|
elevateAppBar(false)
|
||||||
|
@ -26,6 +26,7 @@ class CategoryRecyclerView @JvmOverloads constructor(
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
fastAdapter = FastAdapter.with(itemAdapter)
|
fastAdapter = FastAdapter.with(itemAdapter)
|
||||||
|
fastAdapter.setHasStableIds(true)
|
||||||
layoutManager = manager
|
layoutManager = manager
|
||||||
adapter = fastAdapter
|
adapter = fastAdapter
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user