From e9ba29554c75bba265157435ad1925d538cf986f Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 1 May 2024 21:50:55 -0700 Subject: [PATCH] Fix concurrency warning. --- Shared/Exporters/OPMLExporter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Exporters/OPMLExporter.swift b/Shared/Exporters/OPMLExporter.swift index d1158958e..b0d5b6d52 100644 --- a/Shared/Exporters/OPMLExporter.swift +++ b/Shared/Exporters/OPMLExporter.swift @@ -11,7 +11,7 @@ import Account struct OPMLExporter { - static func OPMLString(with account: Account, title: String) -> String { + @MainActor static func OPMLString(with account: Account, title: String) -> String { let escapedTitle = title.escapingSpecialXMLCharacters let openingText =