From a86f1d8a492743fea91b0ded81f6049d1188d135 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Wed, 16 Jun 2021 14:55:11 +0800 Subject: [PATCH] FreshRSS will use the entered API url --- NetNewsWire.xcodeproj/project.pbxproj | 4 ++-- iOS/Account/ReaderAPIAccountViewController.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index b091280a1..b772ede0f 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -5977,7 +5977,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - SWIFT_OBJC_BRIDGING_HEADER = "Shared/1Password/NetNewsWire-iOS-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "iOS/Resources/NetNewsWire-iOS-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; }; @@ -5992,7 +5992,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - SWIFT_OBJC_BRIDGING_HEADER = "Shared/1Password/NetNewsWire-iOS-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "iOS/Resources/NetNewsWire-iOS-Bridging-Header.h"; SWIFT_VERSION = 5.0; }; name = Release; diff --git a/iOS/Account/ReaderAPIAccountViewController.swift b/iOS/Account/ReaderAPIAccountViewController.swift index 6f03f4720..beabeef2e 100644 --- a/iOS/Account/ReaderAPIAccountViewController.swift +++ b/iOS/Account/ReaderAPIAccountViewController.swift @@ -279,9 +279,9 @@ class ReaderAPIAccountViewController: UITableViewController { case .theOldReader: url = "theoldreader.com" case .freshRSS: - url = "freshrss.org" - default: url = apiURLTextField.text ?? "" + default: + url = "" } OnePasswordExtension.shared().findLogin(forURLString: url, for: self, sender: nil) { [self] loginDictionary, error in