pull/37/head
kunfei 5 years ago
parent 865e6acd7a
commit 357bc48453
  1. 4
      app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt

@ -48,9 +48,7 @@ class SharedReceiverActivity : AppCompatActivity() {
result.append("\n").append(url.trim { it <= ' ' }) result.append("\n").append(url.trim { it <= ' ' })
} }
return if (result.length > 1) { return if (result.length > 1) {
val intent = Intent() startActivity<MainActivity>()
intent.setClass(this@SharedReceiverActivity, MainActivity::class.java)
this.startActivity(intent)
false false
} else { } else {
true true

Loading…
Cancel
Save