Backport #999 : Search bar should consider the selected account
This commit is contained in:
parent
b52e511b9a
commit
3c24104871
|
@ -111,6 +111,7 @@ class SearchFragment : AbsToolbarTabPagesFragment(), RefreshScrollTopInterface,
|
||||||
customView.setOnClickListener {
|
customView.setOnClickListener {
|
||||||
val searchIntent = Intent(context, QuickSearchBarActivity::class.java).apply {
|
val searchIntent = Intent(context, QuickSearchBarActivity::class.java).apply {
|
||||||
putExtra(EXTRA_QUERY, query)
|
putExtra(EXTRA_QUERY, query)
|
||||||
|
putExtra(EXTRA_ACCOUNT_KEY, accountKey)
|
||||||
}
|
}
|
||||||
startActivityForResult(searchIntent, REQUEST_OPEN_SEARCH)
|
startActivityForResult(searchIntent, REQUEST_OPEN_SEARCH)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue