From 651bda70a75e2527ed99b6444266f274eeefd8f7 Mon Sep 17 00:00:00 2001 From: Kaiser Date: Tue, 10 Dec 2024 19:42:36 -0500 Subject: [PATCH] update add storyboard for identifier reference in code: SettingsViewController.swift L:375 --- iOS/Add/Add.storyboard | 4 ++-- iOS/SceneCoordinator.swift | 2 +- iOS/Settings/SettingsViewController.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iOS/Add/Add.storyboard b/iOS/Add/Add.storyboard index d59b587df..6426ac674 100644 --- a/iOS/Add/Add.storyboard +++ b/iOS/Add/Add.storyboard @@ -142,7 +142,7 @@ - + @@ -254,7 +254,7 @@ - + diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index a162d1d98..8b4050dc9 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1219,7 +1219,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner { // Since Add Feed can be opened from anywhere with a keyboard shortcut, we have to deselect any currently selected feeds selectFeed(nil) - let addNavViewController = UIStoryboard.add.instantiateViewController(withIdentifier: "AddWebFeedViewControllerNav") as! UINavigationController + let addNavViewController = UIStoryboard.add.instantiateViewController(withIdentifier: "AddFeedViewControllerNav") as! UINavigationController let addViewController = addNavViewController.topViewController as! AddFeedViewController addViewController.initialFeed = initialFeed addViewController.initialFeedName = initialFeedName diff --git a/iOS/Settings/SettingsViewController.swift b/iOS/Settings/SettingsViewController.swift index 568137360..b40381773 100644 --- a/iOS/Settings/SettingsViewController.swift +++ b/iOS/Settings/SettingsViewController.swift @@ -372,7 +372,7 @@ private extension SettingsViewController { func addFeed() { self.dismiss(animated: true) - let addNavViewController = UIStoryboard.add.instantiateViewController(withIdentifier: "AddWebFeedViewControllerNav") as! UINavigationController + let addNavViewController = UIStoryboard.add.instantiateViewController(withIdentifier: "AddFeedViewControllerNav") as! UINavigationController let addViewController = addNavViewController.topViewController as! AddFeedViewController addViewController.initialFeed = AccountManager.netNewsWireNewsURL addViewController.initialFeedName = NSLocalizedString("NetNewsWire News", comment: "NetNewsWire News")