pull/1395/head
gedoor 3 years ago
parent e5cc724097
commit 60510c59a1
  1. 1
      app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt
  2. 1
      app/src/main/java/io/legado/app/ui/association/OnLineImportViewModel.kt

@ -76,7 +76,6 @@ class OnLineImportActivity :
)
else -> {
viewModel.determineType(url, this::finallyDialog)
finish()
}
}
}

@ -164,6 +164,7 @@ class OnLineImportViewModel(app: Application) : BaseViewModel(app) {
importTextTocRule(json, finally)
json.contains("name") && json.contains("url") ->
importTextTocRule(json, finally)
else -> errorLive.postValue("格式不对")
}
}
}

Loading…
Cancel
Save