Add call to mergeItems()

This commit is contained in:
misaochan 2016-10-08 17:58:48 +13:00
parent 2d96091332
commit 96eef100cb
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ public class MethodAUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
protected ArrayList<String> doInBackground(Void... voids) {
//If user hasn't typed anything in yet, get GPS and recent items
if(TextUtils.isEmpty(filter)) {
return catFragment.recentCatQuery();
return catFragment.mergeItems();
}
//if user types in something that is in cache, return cached category

View file

@ -45,7 +45,7 @@ public class PrefixUpdater extends AsyncTask<Void, Void, ArrayList<String>> {
protected ArrayList<String> doInBackground(Void... voids) {
//If user hasn't typed anything in yet, get GPS and recent items
if(TextUtils.isEmpty(filter)) {
return catFragment.recentCatQuery();
return catFragment.mergeItems();
}
//if user types in something that is in cache, return cached category