The first FeedItem was not properly marked as unread when a feed was

added
This commit is contained in:
daniel oeh 2012-07-10 21:29:35 +02:00
parent bdc4651e92
commit ab6d909e03
1 changed files with 2 additions and 1 deletions

View File

@ -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()