mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fix edge case for starred story counting.
This commit is contained in:
parent
a93cb5079b
commit
cd0ced2d52
1 changed files with 1 additions and 0 deletions
|
@ -578,6 +578,7 @@ public class FeedProvider extends ContentProvider {
|
|||
if (rows == 0 ) {
|
||||
db.insertWithOnConflict(DatabaseConstants.STARRED_STORY_COUNT_TABLE, null, values, SQLiteDatabase.CONFLICT_REPLACE);
|
||||
}
|
||||
return 1;
|
||||
default:
|
||||
throw new UnsupportedOperationException("Unknown URI: " + uri);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue