Save media when marking all items as "read"

The unreadItems list contains items that are "in progress", so we need
to save the media.
This commit is contained in:
Michael Kaiser 2012-10-28 11:39:00 +01:00
parent 27492575c2
commit a8664101a0
1 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,8 @@ public class FeedManager {
adapter.open();
for (FeedItem item : unreadItemsCopy) {
setFeedItem(item, adapter);
if (item.hasMedia())
setFeedMedia(context, item.getMedia());
}
adapter.close();
}