1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-16 18:01:37 +00:00

Show unread counters on feeds page

This commit is contained in:
Maxim Baz 2019-10-30 05:44:35 +01:00 committed by Frédéric Guillot
parent 2eb2441f2b
commit e38333e272
15 changed files with 115 additions and 11 deletions

View file

@ -33,6 +33,8 @@ type Feed struct {
Category *Category `json:"category,omitempty"`
Entries Entries `json:"entries,omitempty"`
Icon *FeedIcon `json:"icon"`
UnreadCount int `json:"unread_count"`
ReadCount int `json:"read_count"`
}
func (f *Feed) String() string {