From 357bc48453ce8bff0dda19fa42b95c00bb23d5a4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 13 Oct 2019 18:09:18 +0800 Subject: [PATCH] up --- .../java/io/legado/app/receiver/SharedReceiverActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt b/app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt index 39118dc5f..e6b78f0f5 100644 --- a/app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt +++ b/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() false } else { true