Make statistics not required for MangaDex
(cherry picked from commit d81a01aa1d102e450d97b03c8458a1b696d2cbb9)
This commit is contained in:
parent
06e4429b92
commit
e1c0289bec
@ -28,7 +28,7 @@ class MangaHandler(
|
||||
val mangaId = MdUtil.getMangaId(manga.url)
|
||||
val response = async(Dispatchers.IO) { service.viewManga(mangaId) }
|
||||
val simpleChapters = async(Dispatchers.IO) { getSimpleChapters(manga) }
|
||||
val statistics = async(Dispatchers.IO) { service.mangasRating(mangaId).statistics[mangaId] }
|
||||
val statistics = async(Dispatchers.IO) { kotlin.runCatching { service.mangasRating(mangaId) }.getOrNull()?.statistics?.get(mangaId) }
|
||||
apiMangaParser.parseToManga(
|
||||
manga,
|
||||
sourceId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user