Fix crash when no chapters can't be loaded
This commit is contained in:
parent
dedb8d2d68
commit
2caecc01b2
@ -362,7 +362,7 @@ class MangaPresenter(
|
|||||||
|
|
||||||
launchUI { view?.onFetchChaptersDone() }
|
launchUI { view?.onFetchChaptersDone() }
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
view?.onFetchChaptersError(e)
|
launchUI { view?.onFetchChaptersError(e) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user