Update the iOS app to work with the new Account createWebFeed signature.

This commit is contained in:
Maurice Parker 2021-03-29 16:19:05 -05:00
parent 4bcf2ee99b
commit d1e5c90ebf
2 changed files with 2 additions and 2 deletions

View File

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

View File

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