From 549b35ffdf2657b8a636f41bf0dc65bda5073e3f Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 30 Oct 2020 15:10:40 -0500 Subject: [PATCH] Clear webbed metadata when deleting an iCloud webfeed --- Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift b/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift index 71ea4da7a..c9716e984 100644 --- a/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift +++ b/Account/Sources/Account/CloudKit/CloudKitAccountDelegate.swift @@ -194,6 +194,7 @@ final class CloudKitAccountDelegate: AccountDelegate { removeWebFeedFromCloud(for: account, with: feed, from: container) { result in switch result { case .success: + account.clearWebFeedMetadata(feed) container.removeWebFeed(feed) completion(.success(())) case .failure(let error):