LibraryMangasEvent.kt 318 B

1234567891011
  1. package eu.kanade.tachiyomi.event
  2. import eu.kanade.tachiyomi.data.database.models.Category
  3. import eu.kanade.tachiyomi.data.database.models.Manga
  4. class LibraryMangasEvent(val mangas: Map<Int, List<Manga>>) {
  5. fun getMangasForCategory(category: Category): List<Manga>? {
  6. return mangas[category.id]
  7. }
  8. }