Rename some instances of webfeed as feed.

This commit is contained in:
Brent Simmons committed 2025-11-02 15:40:05 -08:00
1 parent a062d2aa9f
commit 3936e01d81
21 files changed
+79 -79

No files matched your search

@@ -85,7 +85,7 @@ final class ScriptableWebFeed: NSObject, UniqueIdScriptingObject, ScriptingObjec
guard let account = feed.account else { return nil }
// Find the proper container hierarchy
let containers = account.existingContainers(withWebFeed: feed)
let containers = account.existingContainers(withFeed: feed)
var folder: Folder? = nil
// Check if feed is in a folder
@@ -120,7 +120,7 @@ final class ScriptableWebFeed: NSObject, UniqueIdScriptingObject, ScriptingObjec
// suspendExecution(). When we get the callback, we supply the event result and call resumeExecution().
command.suspendExecution()
account.createWebFeed(url: url, name: titleFromArgs, container: container, validateFeed: true) { result in
account.createFeed(url: url, name: titleFromArgs, container: container, validateFeed: true) { result in
switch result {
case .success(let feed):
NotificationCenter.default.post(name: .UserDidAddFeed, object: self, userInfo: [UserInfoKey.webFeed: feed])