Make FaviconDownloaderDelegate methods MainActor.
This commit is contained in:
parent
dad6c1f884
commit
02de05142a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue