Merge pull request #3073 from babbage/feature/VoiceOverRead

Improve accessibility action labels for MasterTimelineCell in iOS
This commit is contained in:
Brent Simmons
2021-04-25 19:00:25 -07:00
committed by GitHub

View File

@@ -243,8 +243,8 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
// Set up the read action
let readTitle = article.status.read ?
NSLocalizedString("Unread", comment: "Unread") :
NSLocalizedString("Read", comment: "Read")
NSLocalizedString("Mark as Unread", comment: "Mark as Unread") :
NSLocalizedString("Mark as Read", comment: "Mark as Read")
let readAction = UIContextualAction(style: .normal, title: readTitle) { [weak self] (action, view, completion) in
self?.coordinator.toggleRead(article)