TIL: 'News' is singular

This commit is contained in:
Nicolas Martin 2020-10-28 02:00:02 +01:00 committed by Christian Rocha
parent 89965743a1
commit 7500d88e93

View file

@ -892,9 +892,6 @@ func stashHeaderView(m stashModel) string {
divider = dividerDot
}
si := common.Subtle(fmt.Sprintf("%d News", newsItems))
if newsItems == 1 {
si = common.Subtle(fmt.Sprintf("%d New", newsItems))
}
s += fmt.Sprintf("%s%s", divider, si)
}