Fixed update event sending incomplete item
This commit is contained in:
parent
df45f60cf3
commit
4af0f98d2f
|
@ -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());
|
||||
|
|
|
@ -474,7 +474,7 @@ public class SyncService extends Worker {
|
|||
}
|
||||
}
|
||||
DBWriter.removeQueueItem(getApplicationContext(), false, queueToBeRemoved.toArray());
|
||||
DBReader.loadFeedDataOfFeedItemList(updatedItems);
|
||||
DBReader.loadAdditionalFeedItemListData(updatedItems);
|
||||
DBWriter.setItemList(updatedItems);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue