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:
parent
27492575c2
commit
a8664101a0
|
@ -435,6 +435,8 @@ public class FeedManager {
|
||||||
adapter.open();
|
adapter.open();
|
||||||
for (FeedItem item : unreadItemsCopy) {
|
for (FeedItem item : unreadItemsCopy) {
|
||||||
setFeedItem(item, adapter);
|
setFeedItem(item, adapter);
|
||||||
|
if (item.hasMedia())
|
||||||
|
setFeedMedia(context, item.getMedia());
|
||||||
}
|
}
|
||||||
adapter.close();
|
adapter.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue