Update the iOS app to work with the new Account createWebFeed signature.
This commit is contained in:
parent
4bcf2ee99b
commit
d1e5c90ebf
|
@ -125,7 +125,7 @@ class AddFeedViewController: UITableViewController {
|
|||
|
||||
BatchUpdate.shared.start()
|
||||
|
||||
account!.createWebFeed(url: url.absoluteString, name: feedName, container: container) { result in
|
||||
account!.createWebFeed(url: url.absoluteString, name: feedName, container: container, validateFeed: true) { result in
|
||||
|
||||
BatchUpdate.shared.end()
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ extension MasterFeedViewController: UITableViewDropDelegate {
|
|||
} else {
|
||||
|
||||
BatchUpdate.shared.start()
|
||||
destinationContainer.account?.createWebFeed(url: feed.url, name: feed.editedName, container: destinationContainer) { result in
|
||||
destinationContainer.account?.createWebFeed(url: feed.url, name: feed.editedName, container: destinationContainer, validateFeed: false) { result in
|
||||
switch result {
|
||||
case .success:
|
||||
sourceContainer.account?.removeWebFeed(feed, from: sourceContainer) { result in
|
||||
|
|
Loading…
Reference in New Issue