Fixed: gpodder.net taglist searched local subscriptions instead of gpodder.net
This commit is contained in:
parent
d0ff899990
commit
cd845c3d6e
|
@ -37,12 +37,12 @@ public class TagListFragment extends ListFragment {
|
|||
super.onCreateOptionsMenu(menu, inflater);
|
||||
final SearchView sv = new SearchView(getActivity());
|
||||
MenuItemUtils.addSearchItem(menu, sv);
|
||||
sv.setQueryHint(getString(R.string.search_hint));
|
||||
sv.setQueryHint(getString(R.string.gpodnet_search_hint));
|
||||
sv.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
|
||||
@Override
|
||||
public boolean onQueryTextSubmit(String s) {
|
||||
sv.clearFocus();
|
||||
((MainActivity) getActivity()).loadChildFragment(SearchFragment.newInstance(s));
|
||||
((MainActivity) getActivity()).loadChildFragment(SearchListFragment.newInstance(s));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue