Rename AddWebFeed controller classes to AddFeed since they are now used for other feed types

This commit is contained in:
Maurice Parker
2020-08-11 17:04:11 -05:00
parent 9f9b12b6b3
commit 0cb0bc357a
12 changed files with 49 additions and 48 deletions

View File

@@ -373,11 +373,11 @@ private extension SettingsViewController {
self.dismiss(animated: true)
let addNavViewController = UIStoryboard.add.instantiateViewController(withIdentifier: "AddWebFeedViewControllerNav") as! UINavigationController
let addViewController = addNavViewController.topViewController as! AddWebFeedViewController
let addViewController = addNavViewController.topViewController as! AddFeedViewController
addViewController.initialFeed = appNewsURLString
addViewController.initialFeedName = NSLocalizedString("NetNewsWire News", comment: "NetNewsWire News")
addNavViewController.modalPresentationStyle = .formSheet
addNavViewController.preferredContentSize = AddWebFeedViewController.preferredContentSizeForFormSheetDisplay
addNavViewController.preferredContentSize = AddFeedViewController.preferredContentSizeForFormSheetDisplay
presentingParentController?.present(addNavViewController, animated: true)
}