mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 20:28:48 +00:00
Make ArticleThemeDownloader a struct with static funcs, which fixes the concurrency warning about the static shared property (which got removed).
This commit is contained in:
1 parent
8ad09228db
commit
cda4c9eb29
5 files changed
+34
-36
No files matched your search
@@ -62,7 +62,7 @@ extension AppDelegate : AppDelegateAppleEvents {
|
||||
}
|
||||
|
||||
do {
|
||||
try ArticleThemeDownloader.shared.handleFile(at: location)
|
||||
try ArticleThemeDownloader.handleFile(at: location)
|
||||
} catch {
|
||||
NotificationCenter.default.post(name: .didFailToImportThemeWithError, object: nil, userInfo: ["error": error])
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user