From 6caac107009353b5783f1bf68e44ec7cbb00e2b0 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 30 Oct 2026 17:06:57 -0700 Subject: [PATCH] Remove unused key from userInfo. --- Modules/Images/Sources/Images/ArticleThumbnailFinder.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift b/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift index dc7ac358b..4aafe3652 100644 --- a/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift +++ b/Modules/Images/Sources/Images/ArticleThumbnailFinder.swift @@ -27,8 +27,7 @@ extension Notification.Name { /// Posted when a thumbnail image fails to download or is rejected for its size. /// `thumbnailURL(for:mode:)` now skips that URL, so articles that used it may have a different thumbnail. - /// userInfo keys: `ArticleThumbnailFinder.urlKey` (the failed URL) and `ArticleThumbnailFinder.articleIDsKey` - /// (`Set`, the articles whose `thumbnailURL(for:mode:)` was that URL). + /// userInfo key: `ArticleThumbnailFinder.articleIDsKey` (`Set`, the articles whose `thumbnailURL(for:mode:)` was that URL). public static let articleThumbnailDownloadDidFail = Notification.Name("ArticleThumbnailDownloadDidFail") } @@ -187,7 +186,7 @@ extension Notification.Name { return } forgetChosenThumbnailURLs(articleIDs) - NotificationCenter.default.post(name: .articleThumbnailDownloadDidFail, object: self, userInfo: [Self.urlKey: url, Self.articleIDsKey: articleIDs]) + NotificationCenter.default.post(name: .articleThumbnailDownloadDidFail, object: self, userInfo: [Self.articleIDsKey: articleIDs]) } // MARK: - Notifications