Skip to content

Commit 5b9e39e

Browse files
- Updated for concurrency issues
1 parent 47debfe commit 5b9e39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WelcomeWindow/Model/RecentsStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public enum RecentsStore {
1212
public static let didUpdateNotification = Notification.Name("RecentsStore.didUpdate")
1313

1414
/// For tests (or previews) before any API call.
15-
public static var defaults: UserDefaults = .standard
15+
@MainActor public static var defaults: UserDefaults = .standard
1616

1717
/// Internal representation of a bookmark entry.
1818
private struct BookmarkEntry: Codable, Equatable {

0 commit comments

Comments
 (0)