manga-refresh-state (#8090)

This commit is contained in:
Ivan Iskandar
2022-09-28 04:49:21 +07:00
committed by GitHub
parent 633bd6eb46
commit 98a4f6cccb
3 changed files with 79 additions and 59 deletions

View File

@@ -24,4 +24,8 @@ class GetMangaWithChapters(
suspend fun awaitManga(id: Long): Manga {
return mangaRepository.getMangaById(id)
}
suspend fun awaitChapters(id: Long): List<Chapter> {
return chapterRepository.getChapterByMangaId(id)
}
}