pull/1298/head
gedoor 3 years ago
parent 9552bd30db
commit 8c982ee54e
  1. 5
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -209,7 +209,10 @@ class ReadBookActivity : ReadBookBaseActivity(),
} }
launch { launch {
menu.findItem(R.id.menu_get_progress)?.isVisible = menu.findItem(R.id.menu_get_progress)?.isVisible =
withContext(IO) { AppWebDav.initWebDav() } withContext(IO) {
runCatching { AppWebDav.initWebDav() }
.getOrElse { false }
}
} }
} }
} }

Loading…
Cancel
Save