FreshRSS will use the entered API url

This commit is contained in:
Stuart Breckenridge 2021-06-16 14:55:11 +08:00
parent db9d326457
commit a86f1d8a49
2 changed files with 4 additions and 4 deletions

View File

@ -5977,7 +5977,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@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_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
}; };
@ -5992,7 +5992,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@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; SWIFT_VERSION = 5.0;
}; };
name = Release; name = Release;

View File

@ -279,9 +279,9 @@ class ReaderAPIAccountViewController: UITableViewController {
case .theOldReader: case .theOldReader:
url = "theoldreader.com" url = "theoldreader.com"
case .freshRSS: case .freshRSS:
url = "freshrss.org"
default:
url = apiURLTextField.text ?? "" url = apiURLTextField.text ?? ""
default:
url = ""
} }
OnePasswordExtension.shared().findLogin(forURLString: url, for: self, sender: nil) { [self] loginDictionary, error in OnePasswordExtension.shared().findLogin(forURLString: url, for: self, sender: nil) { [self] loginDictionary, error in