mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add call to mergeItems()
This commit is contained in:
parent
2d96091332
commit
96eef100cb
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue