Add Reddit Feed adding functionality

This commit is contained in:
Maurice Parker
2020-08-11 16:27:42 -05:00
parent 0ec250ec24
commit e7f42905dc
12 changed files with 96 additions and 46 deletions

View File

@@ -402,7 +402,12 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
let addWebFeedActionTitle = NSLocalizedString("Add Web Feed", comment: "Add Web Feed")
let addWebFeedAction = UIAlertAction(title: addWebFeedActionTitle, style: .default) { _ in
self.coordinator.showAddFeed()
self.coordinator.showAddWebFeed()
}
let addRedditFeedActionTitle = NSLocalizedString("Add Reddit Feed", comment: "Add Reddit Feed")
let addRedditFeedAction = UIAlertAction(title: addRedditFeedActionTitle, style: .default) { _ in
self.coordinator.showAddRedditFeed()
}
let addWebFolderdActionTitle = NSLocalizedString("Add Folder", comment: "Add Folder")
@@ -411,6 +416,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
}
alertController.addAction(addWebFeedAction)
alertController.addAction(addRedditFeedAction)
alertController.addAction(addWebFolderAction)
alertController.addAction(cancelAction)