mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Rename MarkArticlesReadAlertController to UndoAvailableAlertController to better reflect its new purpose
This commit is contained in:
@@ -89,9 +89,9 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
||||
// MARK: Actions
|
||||
|
||||
@IBAction func markAllAsRead(_ sender: Any) {
|
||||
if coordinator.displayMarkAllAsReadUndoTip {
|
||||
let alertController = MarkArticlesReadAlertController.markAllAsReadAlert { [weak self] _ in
|
||||
self?.coordinator.displayMarkAllAsReadUndoTip = false
|
||||
if coordinator.displayUndoAvailableTip {
|
||||
let alertController = UndoAvailableAlertController.alert { [weak self] _ in
|
||||
self?.coordinator.displayUndoAvailableTip = false
|
||||
self?.coordinator.markAllAsReadInTimeline()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user