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 5490e3ab49
commit 1e5091013d
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
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] {
for newUnclaimedWebFeed in newUnclaimedWebFeeds {
@ -116,7 +116,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
editedName: newUnclaimedWebFeed.editedName,
homePageURL: newUnclaimedWebFeed.homePageURL,
webFeedExternalID: newUnclaimedWebFeed.webFeedExternalID,
container: folder)
container: container)
}
self.newUnclaimedWebFeeds.removeValue(forKey: containerExternalID)
@ -124,7 +124,7 @@ class CloudKitAcountZoneDelegate: CloudKitZoneDelegate {
if let existingUnclaimedWebFeeds = existingUnclaimedWebFeeds[containerExternalID] {
for existingUnclaimedWebFeed in existingUnclaimedWebFeeds {
folder.addWebFeed(existingUnclaimedWebFeed)
container.addWebFeed(existingUnclaimedWebFeed)
}
self.existingUnclaimedWebFeeds.removeValue(forKey: containerExternalID)
}