mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Key should be Category not Int
This commit is contained in:
parent
e36379bd6c
commit
af02f34167
1 changed files with 2 additions and 2 deletions
|
@ -754,9 +754,9 @@ class LibraryPresenter(
|
|||
?: return@mapNotNull null
|
||||
categorySet.add(it.category)
|
||||
LibraryItem(it, headerItem, viewContext)
|
||||
}
|
||||
}.groupBy { it.header.category.id!! }
|
||||
|
||||
libraryManga.groupBy { it.header.category.id!! }
|
||||
categories.associateWith { libraryManga[it.id].orEmpty() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue