Prefix accessibility label with unread when item is unread. Issue #2142

This commit is contained in:
Maurice Parker 2020-06-20 11:05:54 -05:00
parent d453a94330
commit 95704c7f3e
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,9 @@ private extension MasterTimelineTableViewCell {
}
func updateAccessiblityLabel() {
accessibilityLabel = "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
var label = cellData.read ? "" : "\(NSLocalizedString("Unread", comment: "Unread")), "
label += "\(cellData.feedName), \(cellData.title), \(cellData.summary), \(cellData.dateString)"
accessibilityLabel = label
}
func makeIconEmpty() {