Continue renaming Id to ID (and similar renames).

This commit is contained in:
Brent Simmons
2023-09-16 22:04:43 -07:00
parent dd8df6e6c5
commit 5e3086667d
60 changed files with 420 additions and 391 deletions

View File

@@ -80,7 +80,7 @@ private extension UserNotificationManager {
/// - Returns: A `UNNotificationAttachment` if an icon is available. Otherwise nil.
/// - Warning: In certain scenarios, this will return the `faviconTemplateImage`.
@MainActor func thumbnailAttachment(for article: Article, feed: Feed) -> UNNotificationAttachment? {
if let imageURL = article.iconImageUrl(feed: feed) {
if let imageURL = article.iconImageURL(feed: feed) {
let thumbnail = try? UNNotificationAttachment(identifier: feed.feedID, url: imageURL, options: nil)
return thumbnail
}