Fix EH gallery updater crashing

This commit is contained in:
NerdNumber9 2019-08-09 04:40:44 -04:00
parent d69dc375a3
commit a0b490b10f

View File

@ -231,9 +231,11 @@ class EHentaiUpdateWorker: JobService(), CoroutineScope {
)
)
if(updatedManga.isNotEmpty()) {
updateNotifier.showResultNotification(updatedManga)
}
}
}
suspend fun updateEntryAndGetChapters(manga: Manga): List<Chapter> {
val source = sourceManager.get(manga.source) as? EHentai