From 02de05142adad72f74fc6a0853528f0ee7c96859 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 16 Apr 2024 20:44:29 -0700 Subject: [PATCH] Make FaviconDownloaderDelegate methods MainActor. --- Images/Sources/Images/Favicons/FaviconDownloader.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Images/Sources/Images/Favicons/FaviconDownloader.swift b/Images/Sources/Images/Favicons/FaviconDownloader.swift index e24653ab3..542f88de3 100644 --- a/Images/Sources/Images/Favicons/FaviconDownloader.swift +++ b/Images/Sources/Images/Favicons/FaviconDownloader.swift @@ -20,9 +20,9 @@ public extension Notification.Name { public protocol FaviconDownloaderDelegate { - var appIconImage: IconImage? { get } + @MainActor var appIconImage: IconImage? { get } - func downloadMetadata(_ url: String) async throws -> RSHTMLMetadata? + @MainActor func downloadMetadata(_ url: String) async throws -> RSHTMLMetadata? } @MainActor public final class FaviconDownloader {