The first FeedItem was not properly marked as unread when a feed was
added
This commit is contained in:
parent
bdc4651e92
commit
ab6d909e03
|
@ -268,8 +268,9 @@ public class FeedManager {
|
|||
"Found no existing Feed with title " + newFeed.getTitle()
|
||||
+ ". Adding as new one.");
|
||||
// Add a new Feed
|
||||
newFeed.getItems().get(0).read = false;
|
||||
addNewFeed(context, newFeed);
|
||||
markItemRead(context, newFeed.getItems().get(0), false);
|
||||
|
||||
return newFeed;
|
||||
} else {
|
||||
Log.d(TAG, "Feed with title " + newFeed.getTitle()
|
||||
|
|
Loading…
Reference in New Issue