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)",
"@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;

View File

@ -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