Fixed update event sending incomplete item

This commit is contained in:
ByteHamster 2021-01-26 18:58:26 +01:00
parent df45f60cf3
commit 4af0f98d2f
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ public final class DBReader {
*
* @param items The FeedItems whose Feed-objects should be loaded.
*/
public static void loadFeedDataOfFeedItemList(List<FeedItem> items) {
private static void loadFeedDataOfFeedItemList(List<FeedItem> items) {
List<Feed> feeds = getFeedList();
Map<Long, Feed> feedIndex = new ArrayMap<>(feeds.size());

View File

@ -474,7 +474,7 @@ public class SyncService extends Worker {
}
}
DBWriter.removeQueueItem(getApplicationContext(), false, queueToBeRemoved.toArray());
DBReader.loadFeedDataOfFeedItemList(updatedItems);
DBReader.loadAdditionalFeedItemListData(updatedItems);
DBWriter.setItemList(updatedItems);
}