Fix categories dialog showing group by categories
(cherry picked from commit afab9c236dda0eb3cc9892a4943c8c02bac46b75)
This commit is contained in:
parent
b6baac90dc
commit
428fa17bfc
@ -1123,7 +1123,9 @@ class LibraryScreenModel(
|
||||
val mangaList = state.value.selection.map { it.manga }
|
||||
|
||||
// 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.
|
||||
val common = getCommonCategories(mangaList)
|
||||
|
Loading…
x
Reference in New Issue
Block a user