forked from mirrors/Fedilab
Fix issue #592 - Second search clears term field
This commit is contained in:
parent
427073a369
commit
0c6fe112c9
1 changed files with 2 additions and 1 deletions
|
@ -130,9 +130,10 @@ public class SearchResultTabActivity extends BaseBarActivity {
|
|||
search = query.trim();
|
||||
ScreenSlidePagerAdapter mPagerAdapter = new ScreenSlidePagerAdapter(getSupportFragmentManager());
|
||||
binding.searchViewpager.setAdapter(mPagerAdapter);
|
||||
searchView.clearFocus();
|
||||
setTitle(search);
|
||||
searchView.setIconified(true);
|
||||
searchView.setQuery(search, false);
|
||||
searchView.clearFocus();
|
||||
binding.searchTabLayout.selectTab(initial);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue