pull/66/head
kunfei 5 years ago
parent dafbb6d895
commit cea6795de7
  1. 2
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceViewModel.kt

@ -194,7 +194,7 @@ class BookSourceViewModel(application: Application) : BaseViewModel(application)
else -> "格式不对"
}
}.onError {
finally(it.localizedMessage)
finally(it.localizedMessage ?: "")
}.onSuccess {
finally(it ?: "导入完成")
}

Loading…
Cancel
Save