Add thumbnail downloading to activity log.

This commit is contained in:
Brent Simmons committed 2026-10-25 14:39:10 -07:00
1 parent c8369279c8
commit 97ad41dc86
2 files changed
+3 -1

No files matched your search

@@ -78,7 +78,7 @@ private extension ActivityLogViewModel {
switch owner {
case .account(let accountID, _):
return .account(accountID: accountID)
case .app, .feedFinder, .feedImageDownloader, .faviconDownloader, .avatarDownloader, .htmlMetadataDownloader:
case .app, .feedFinder, .feedImageDownloader, .faviconDownloader, .avatarDownloader, .htmlMetadataDownloader, .thumbnailDownloader:
return .secondary
}
}
@@ -94,6 +94,8 @@ struct ActivityDisplayText {
return ActivityDisplayText(title: NSLocalizedString("Downloading avatar", comment: "Downloading avatar"), detail: avatarURL)
case .downloadHTMLMetadata(let urlString):
return ActivityDisplayText(title: NSLocalizedString("Downloading metadata", comment: "Downloading metadata"), detail: urlString)
case .downloadThumbnail(let imageURL):
return ActivityDisplayText(title: NSLocalizedString("Downloading thumbnail", comment: "Downloading thumbnail"), detail: imageURL)
default:
return ActivityDisplayText(title: activity.kind.simpleDisplayName ?? "", detail: activity.detail)
}