mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
refactor(manga): Turn getHistory() to a suspend func
This commit is contained in:
parent
07f9e921f1
commit
4caefff11d
1 changed files with 2 additions and 4 deletions
|
@ -285,10 +285,8 @@ class MangaDetailsPresenter(
|
|||
this.chapters = applyChapterFilters(chapters)
|
||||
}
|
||||
|
||||
private fun getHistory() {
|
||||
presenterScope.launchIO {
|
||||
allHistory = getHistory.awaitAllByMangaId(mangaId)
|
||||
}
|
||||
private suspend fun getHistory() {
|
||||
allHistory = getHistory.awaitAllByMangaId(mangaId)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue