Fix categories dialog showing group by categories

This commit is contained in:
Jobobby04 2023-03-16 18:10:48 -04:00
parent 259a487dc0
commit afab9c236d

View File

@ -1073,7 +1073,9 @@ class LibraryScreenModel(
val mangaList = state.value.selection.map { it.manga } val mangaList = state.value.selection.map { it.manga }
// Hide the default category because it has a different behavior than the ones from db. // Hide the default category because it has a different behavior than the ones from db.
val categories = state.value.categories.filter { it.id != 0L } // SY -->
val categories = state.value.ogCategories.filter { it.id != 0L }
// SY <--
// Get indexes of the common categories to preselect. // Get indexes of the common categories to preselect.
val common = getCommonCategories(mangaList) val common = getCommonCategories(mangaList)