Change variable name to make it compile with older versions of Xcode.

This commit is contained in:
Maurice Parker 2021-05-09 19:37:25 -05:00
parent 3dbfc9a3b7
commit f70e5ae191
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
folder?.externalID = record.externalID folder?.externalID = record.externalID
} }
guard let folder = folder, let containerExternalID = folder.externalID else { return } guard let container = folder, let containerExternalID = container.externalID else { return }
if let newUnclaimedWebFeeds = newUnclaimedWebFeeds[containerExternalID] { if let newUnclaimedWebFeeds = newUnclaimedWebFeeds[containerExternalID] {
for newUnclaimedWebFeed in newUnclaimedWebFeeds { for newUnclaimedWebFeed in newUnclaimedWebFeeds {
@ -116,7 +116,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
editedName: newUnclaimedWebFeed.editedName, editedName: newUnclaimedWebFeed.editedName,
homePageURL: newUnclaimedWebFeed.homePageURL, homePageURL: newUnclaimedWebFeed.homePageURL,
webFeedExternalID: newUnclaimedWebFeed.webFeedExternalID, webFeedExternalID: newUnclaimedWebFeed.webFeedExternalID,
container: folder) container: container)
} }
self.newUnclaimedWebFeeds.removeValue(forKey: containerExternalID) self.newUnclaimedWebFeeds.removeValue(forKey: containerExternalID)
@ -124,7 +124,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
if let existingUnclaimedWebFeeds = existingUnclaimedWebFeeds[containerExternalID] { if let existingUnclaimedWebFeeds = existingUnclaimedWebFeeds[containerExternalID] {
for existingUnclaimedWebFeed in existingUnclaimedWebFeeds { for existingUnclaimedWebFeed in existingUnclaimedWebFeeds {
folder.addWebFeed(existingUnclaimedWebFeed) container.addWebFeed(existingUnclaimedWebFeed)
} }
self.existingUnclaimedWebFeeds.removeValue(forKey: containerExternalID) self.existingUnclaimedWebFeeds.removeValue(forKey: containerExternalID)
} }