mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-23 14:17:15 +00:00
Fetch additional content if some is missing
This commit is contained in:
parent
c4b6cc87e7
commit
f7dd168b8a
1 changed files with 1 additions and 3 deletions
|
|
@ -73,11 +73,9 @@ public class ContentCache {
|
|||
|
||||
Where<ItemData> query = new Select().from(ItemData.class).where(keyCondition);
|
||||
|
||||
String queryString = query.getQuery();
|
||||
List<ItemData> items = query.queryList();
|
||||
|
||||
|
||||
if (items != null && items.size() != 0) {
|
||||
if (items != null && items.size() == keysToSearch.size()) {
|
||||
gotEntries.GotObject(items);
|
||||
} else {
|
||||
getContentAndSearchForList("item", keysToSearch, gotEntries);
|
||||
|
|
|
|||
Loading…
Reference in a new issue