Fix flashing library

This commit is contained in:
Jobobby04 2021-06-28 01:10:01 -04:00
parent 417c345946
commit a132435967

View File

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