mirror of
https://github.com/null2264/yokai.git
synced 2025-07-17 22:36:55 +00:00
fix: Don't complain about network connection if it's a local source entry
This commit is contained in:
parent
77ea03185d
commit
e1511a1480
1 changed files with 2 additions and 1 deletions
|
@ -499,7 +499,8 @@ class MangaDetailsPresenter(
|
||||||
|
|
||||||
/** Refresh Manga Info and Chapter List (not tracking) */
|
/** Refresh Manga Info and Chapter List (not tracking) */
|
||||||
fun refreshAll() {
|
fun refreshAll() {
|
||||||
if (view?.isNotOnline() == true && !manga.isLocal()) return
|
val isLocal by lazy { manga.isLocal() }
|
||||||
|
if (view?.isNotOnline(!isLocal) == true && !isLocal) return
|
||||||
presenterScope.launch {
|
presenterScope.launch {
|
||||||
isLoading = true
|
isLoading = true
|
||||||
val tasks = listOf(
|
val tasks = listOf(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue