Backport #999 : Search bar should consider the selected account

This commit is contained in:
Michel Roux 2020-04-20 19:50:09 +02:00
parent b52e511b9a
commit 3c24104871
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)
}