Rename accessibility action labels as per #3072

This commit is contained in:
Duncan Babbage 2021-04-26 08:19:31 +12:00
parent 7f939f266b
commit 7e71814011

View File

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