mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +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() }
|
.onEach { onUpdateManga() }
|
||||||
.launchIn(presenterScope)
|
.launchIn(presenterScope)
|
||||||
|
|
||||||
val fetchMangaNeeded = !manga.initialized
|
val fetchMangaNeeded = !manga.initialized || manga.isLocal()
|
||||||
val fetchChaptersNeeded = runBlocking { getChaptersNow() }.isEmpty()
|
val fetchChaptersNeeded = runBlocking { getChaptersNow() }.isEmpty() || manga.isLocal()
|
||||||
|
|
||||||
presenterScope.launch {
|
presenterScope.launch {
|
||||||
isLoading = true
|
isLoading = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue