pull/1352/head
gedoor 3 years ago
parent 1288388682
commit 6dd279b4da
  1. 3
      app/src/main/java/io/legado/app/help/AppUpdate.kt

@ -40,7 +40,8 @@ object AppUpdate {
} else { } else {
throw NoStackTraceException("已是最新版本") throw NoStackTraceException("已是最新版本")
} }
}.onSuccess { }.timeout(10000)
.onSuccess {
callback.invoke(it[0], it[1], it[2], it[3]) callback.invoke(it[0], it[1], it[2], it[3])
}.onError { }.onError {
if (showErrorMsg) { if (showErrorMsg) {

Loading…
Cancel
Save