uses correct string

This commit is contained in:
Stuart Breckenridge 2020-11-21 09:54:03 +08:00
parent ee4ab43a8b
commit e70e67d35c
No known key found for this signature in database
GPG Key ID: 1F11FD62007DC331
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ struct StarredWidgetView : View {
count = count - 3 count = count - 3
} }
if count < 0 { count = 0 } if count < 0 { count = 0 }
let str = L10n.unreadCount(count) let str = L10n.starredCount(count)
return Text(str) return Text(str)
.font(.caption2) .font(.caption2)
.bold() .bold()

View File

@ -69,7 +69,7 @@ struct TodayWidgetView : View {
count = count - 3 count = count - 3
} }
if count < 0 { count = 0 } if count < 0 { count = 0 }
let str = L10n.unreadCount(count) let str = L10n.todayCount(count)
return Text(str) return Text(str)
.font(.caption2) .font(.caption2)
.bold() .bold()