mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix some concurrency warnings.
This commit is contained in:
@@ -24,7 +24,7 @@ public final class WidgetDataEncoder {
|
||||
private lazy var containerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroup)
|
||||
private lazy var dataURL = containerURL?.appendingPathComponent("widget-data.json")
|
||||
|
||||
static let shared = WidgetDataEncoder()
|
||||
@MainActor static let shared = WidgetDataEncoder()
|
||||
private init () {}
|
||||
|
||||
func encodeWidgetData() throws {
|
||||
|
||||
Reference in New Issue
Block a user