mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
chore(manga): Always try to refresh if it's a local entry
This commit is contained in:
parent
2dfc1e3451
commit
8c9208c3b6
1 changed files with 2 additions and 2 deletions
|
@ -222,8 +222,8 @@ class MangaDetailsPresenter(
|
|||
.onEach { onUpdateManga() }
|
||||
.launchIn(presenterScope)
|
||||
|
||||
val fetchMangaNeeded = !manga.initialized
|
||||
val fetchChaptersNeeded = runBlocking { getChaptersNow() }.isEmpty()
|
||||
val fetchMangaNeeded = !manga.initialized || manga.isLocal()
|
||||
val fetchChaptersNeeded = runBlocking { getChaptersNow() }.isEmpty() || manga.isLocal()
|
||||
|
||||
presenterScope.launch {
|
||||
isLoading = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue