mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
don't include inactive feeds on unread count
This commit is contained in:
parent
df9feb0e63
commit
d48aaed4d6
1 changed files with 1 additions and 0 deletions
|
|
@ -767,6 +767,7 @@ public class BlurDatabaseHelper {
|
|||
Cursor c = dbRO.query(DatabaseConstants.FEED_TABLE, null, selection, selArgs, null, null, null);
|
||||
while (c.moveToNext()) {
|
||||
Feed f = Feed.fromCursor(c);
|
||||
if(!f.active) continue;
|
||||
result += f.positiveCount;
|
||||
if ((stateFilter == StateFilter.SOME) || (stateFilter == StateFilter.ALL)) result += f.neutralCount;
|
||||
if (stateFilter == StateFilter.ALL) result += f.negativeCount;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue