Fix flashing library
This commit is contained in:
parent
417c345946
commit
a132435967
@ -333,10 +333,10 @@ class LibraryController(
|
|||||||
.map { (it.id ?: -1) to (mangaMap[it.id]?.size ?: 0) }
|
.map { (it.id ?: -1) to (mangaMap[it.id]?.size ?: 0) }
|
||||||
.toMap()
|
.toMap()
|
||||||
|
|
||||||
if (preferences.categorisedDisplaySettings().get()) {
|
/*if (preferences.categorisedDisplaySettings().get()) {
|
||||||
// Reattach adapter so it doesn't get de-synced
|
// Reattach adapter so it doesn't get de-synced
|
||||||
reattachAdapter()
|
reattachAdapter()
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Restore active category.
|
// Restore active category.
|
||||||
binding.libraryPager.setCurrentItem(activeCat, false)
|
binding.libraryPager.setCurrentItem(activeCat, false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user