fix: Don't complain about network connection if it's a local source entry
Some checks failed
Build app / Build app (push) Has been cancelled
Mirror Repository / mirror (push) Has been cancelled

This commit is contained in:
Ahmad Ansori Palembani 2025-06-24 08:01:53 +07:00
parent 77ea03185d
commit e1511a1480
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -499,7 +499,8 @@ class MangaDetailsPresenter(
/** Refresh Manga Info and Chapter List (not tracking) */
fun refreshAll() {
if (view?.isNotOnline() == true && !manga.isLocal()) return
val isLocal by lazy { manga.isLocal() }
if (view?.isNotOnline(!isLocal) == true && !isLocal) return
presenterScope.launch {
isLoading = true
val tasks = listOf(