chore(manga): Always try to refresh if it's a local entry

This commit is contained in:
Ahmad Ansori Palembani 2024-12-17 09:03:44 +07:00
parent 2dfc1e3451
commit 8c9208c3b6
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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