fixed the dumbest crash in the world
(cherry picked from commit 6ebfbf4246191bd85775f9c14a55f741ca3db9f4)
This commit is contained in:
parent
db3fa582ce
commit
16b889500b
1 changed files with 5 additions and 5 deletions
|
|
@ -196,12 +196,12 @@ class MigrationListScreenModel(
|
|||
if (localManga != null) {
|
||||
val source = sourceManager.get(localManga.source) as? CatalogueSource
|
||||
if (source != null) {
|
||||
val chapters = if (source is EHentai) {
|
||||
source.getChapterList(localManga.toSManga(), throttleManager::throttle)
|
||||
} else {
|
||||
source.getChapterList(localManga.toSManga())
|
||||
}
|
||||
try {
|
||||
val chapters = if (source is EHentai) {
|
||||
source.getChapterList(localManga.toSManga(), throttleManager::throttle)
|
||||
} else {
|
||||
source.getChapterList(localManga.toSManga())
|
||||
}
|
||||
syncChaptersWithSource.await(chapters, localManga, source)
|
||||
} catch (_: Exception) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue