diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e2f33b7c6..dc9705e30 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -85,7 +85,7 @@
diff --git a/app/src/main/java/io/legado/app/receiver/ReceivingSharedActivity.kt b/app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt
similarity index 93%
rename from app/src/main/java/io/legado/app/receiver/ReceivingSharedActivity.kt
rename to app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt
index 807002ef9..11ff854e5 100644
--- a/app/src/main/java/io/legado/app/receiver/ReceivingSharedActivity.kt
+++ b/app/src/main/java/io/legado/app/receiver/SharedReceiverActivity.kt
@@ -9,7 +9,7 @@ import io.legado.app.ui.book.search.SearchActivity
import io.legado.app.ui.main.MainActivity
import org.jetbrains.anko.startActivity
-class ReceivingSharedActivity : AppCompatActivity() {
+class SharedReceiverActivity : AppCompatActivity() {
private val receivingType = "text/plain"
@@ -51,7 +51,7 @@ class ReceivingSharedActivity : AppCompatActivity() {
}
return if (result.length > 1) {
val intent = Intent()
- intent.setClass(this@ReceivingSharedActivity, MainActivity::class.java)
+ intent.setClass(this@SharedReceiverActivity, MainActivity::class.java)
this.startActivity(intent)
false
} else {
diff --git a/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt
index f01bd6079..faf414e9c 100644
--- a/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt
+++ b/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt
@@ -12,7 +12,7 @@ import io.legado.app.App
import io.legado.app.R
import io.legado.app.help.BookHelp
import io.legado.app.lib.theme.ATH
-import io.legado.app.ui.book.search.SearchActivity
+import io.legado.app.receiver.SharedReceiverActivity
import io.legado.app.utils.LogUtils
import io.legado.app.utils.getPrefString
@@ -23,7 +23,7 @@ class ConfigFragment : PreferenceFragmentCompat(), Preference.OnPreferenceChange
private val packageManager = App.INSTANCE.packageManager
private val componentName = ComponentName(
App.INSTANCE,
- SearchActivity::class.java.name
+ SharedReceiverActivity::class.java.name
)
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {