pull/2189/head
kunfei 2 years ago
parent fa204e048d
commit 8c3b431748
  1. 2
      app/src/main/java/io/legado/app/ui/association/OnLineImportActivity.kt

@ -46,7 +46,7 @@ class OnLineImportActivity :
finallyDialog(getString(R.string.error), it) finallyDialog(getString(R.string.error), it)
} }
intent.data?.let { intent.data?.let {
val url = it.getQueryParameter("src") val url = it.query?.substringAfter("src=")
if (url.isNullOrBlank()) { if (url.isNullOrBlank()) {
finish() finish()
return return

Loading…
Cancel
Save