Update to latest RSCore

This commit is contained in:
Nate Weaver committed 2020-03-18 19:58:29 -05:00
1 parent 33081a3443
commit 7a9095b63a
44 files changed
+116 -114

No files matched your search

+2 -2
View File
@@ -70,7 +70,7 @@ class AddFeedViewController: UITableViewController, AddContainerViewControllerCh
func add() {
let urlString = urlTextField.text ?? ""
let normalizedURLString = (urlString as NSString).rs_normalizedURL()
let normalizedURLString = (urlString as NSString).normalizedURL
guard !normalizedURLString.isEmpty, let url = URL(string: normalizedURLString) else {
delegate?.processingDidCancel()
@@ -121,7 +121,7 @@ class AddFeedViewController: UITableViewController, AddContainerViewControllerCh
}
@objc func textDidChange(_ note: Notification) {
delegate?.readyToAdd(state: urlTextField.text?.rs_stringMayBeURL() ?? false)
delegate?.readyToAdd(state: urlTextField.text?.mayBeURL ?? false)
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {