diff options
author | desperateCoder <echotodevnull@gmail.com> | 2021-04-09 20:00:25 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2021-04-10 14:38:50 +0300 |
commit | dcbfb84ab4877ebea02cffed41068957a416e3e4 (patch) | |
tree | a34f1481fbce22192d04f64e48e5b055f088e341 /app/src | |
parent | e2ed2ebb2c669bd7ce1001d3c1a3ba1f055eb656 (diff) |
#690 in-app upcoming cards: added relations for card results
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java index 8b852d3e2..59fde4a10 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java @@ -1256,6 +1256,7 @@ public class DataBaseAdapter { public LiveData<List<UpcomingCardsAdapterItem>> getCardsForUpcomingCard() { LiveData<List<FullCard>> upcomingCardsLiveData = db.getCardDao().getUpcomingCards(); return LiveDataHelper.postCustomValue(upcomingCardsLiveData, cardsResult -> { + filterRelationsForCard(cardsResult); List<UpcomingCardsAdapterItem> result = new ArrayList<>(cardsResult.size()); Map<Long, Account> accountCache = new HashMap<>(); for (FullCard fullCard : cardsResult) { |