diff --git a/app/src/main/java/io/legado/app/ui/booksource/BookSourceActivity.kt b/app/src/main/java/io/legado/app/ui/booksource/BookSourceActivity.kt index d2329cf27..7125a2e7b 100644 --- a/app/src/main/java/io/legado/app/ui/booksource/BookSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/booksource/BookSourceActivity.kt @@ -82,6 +82,9 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity } } } + if (item.groupId == R.id.source_group) { + search_view.setQuery(item.title, true) + } return super.onCompatOptionsItemSelected(item) }