Merge pull request #1258 from Xefir/999

Backport #999 : Search bar should consider the selected account
This commit is contained in:
Tlaster 2020-04-21 16:10:29 +08:00 committed by GitHub
commit d0afc986b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ class SearchFragment : AbsToolbarTabPagesFragment(), RefreshScrollTopInterface,
customView.setOnClickListener {
val searchIntent = Intent(context, QuickSearchBarActivity::class.java).apply {
putExtra(EXTRA_QUERY, query)
putExtra(EXTRA_ACCOUNT_KEY, accountKey)
}
startActivityForResult(searchIntent, REQUEST_OPEN_SEARCH)
}