mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Remove redundant flag toggle when locally marking-read.
This commit is contained in:
parent
5966b31187
commit
a1fc57ef5c
1 changed files with 0 additions and 3 deletions
|
@ -151,9 +151,6 @@ public class FeedUtils {
|
|||
ReadingAction ra = (read ? ReadingAction.markStoryRead(story.storyHash) : ReadingAction.markStoryUnread(story.storyHash));
|
||||
dbHelper.enqueueAction(ra);
|
||||
|
||||
// update the local object to show as read before DB is touched
|
||||
story.read = read;
|
||||
|
||||
// update unread state and unread counts in the local DB
|
||||
Set<FeedSet> impactedFeeds = dbHelper.setStoryReadState(story, read);
|
||||
NbActivity.updateAllActivities(NbActivity.UPDATE_STORY);
|
||||
|
|
Loading…
Add table
Reference in a new issue