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 <= ' ' })
}
return if (result.length > 1) {
val intent = Intent()
intent.setClass(this@SharedReceiverActivity, MainActivity::class.java)
this.startActivity(intent)
startActivity<MainActivity>()
false
} else {
true

Loading…
Cancel
Save