diff --git a/iOS/Account/ReaderAPIAccountViewController.swift b/iOS/Account/ReaderAPIAccountViewController.swift index 3eca028cd..5c99618d6 100644 --- a/iOS/Account/ReaderAPIAccountViewController.swift +++ b/iOS/Account/ReaderAPIAccountViewController.swift @@ -21,7 +21,6 @@ class ReaderAPIAccountViewController: UITableViewController { @IBOutlet weak var showHideButton: UIButton! @IBOutlet weak var actionButton: UIButton! - weak var account: Account? var accountType: AccountType? weak var delegate: AddAccountDismissDelegate? diff --git a/iOS/Inspector/AccountInspectorViewController.swift b/iOS/Inspector/AccountInspectorViewController.swift index cc7c5be5b..638383f62 100644 --- a/iOS/Inspector/AccountInspectorViewController.swift +++ b/iOS/Inspector/AccountInspectorViewController.swift @@ -58,6 +58,25 @@ class AccountInspectorViewController: UITableViewController { addViewController.account = account navController.modalPresentationStyle = .currentContext present(navController, animated: true) + case .feedWrangler: + let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "FeedWranglerAccountNavigationViewController") as! UINavigationController + let addViewController = navController.topViewController as! FeedWranglerAccountViewController + addViewController.account = account + navController.modalPresentationStyle = .currentContext + present(navController, animated: true) + case .newsBlur: + let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "NewsBlurAccountNavigationViewController") as! UINavigationController + let addViewController = navController.topViewController as! NewsBlurAccountViewController + addViewController.account = account + navController.modalPresentationStyle = .currentContext + present(navController, animated: true) + case .inoreader, .bazQux, .theOldReader, .freshRSS: + let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "ReaderAPIAccountNavigationViewController") as! UINavigationController + let addViewController = navController.topViewController as! ReaderAPIAccountViewController + addViewController.accountType = account.type + addViewController.account = account + navController.modalPresentationStyle = .currentContext + present(navController, animated: true) default: break }