Fix concurrency warning.
This commit is contained in:
parent
9dcfc2b09c
commit
87fe78f598
|
@ -31,7 +31,7 @@ final class AppDefaults {
|
|||
|
||||
static let defaultThemeName = "Defaults"
|
||||
|
||||
static let shared = AppDefaults()
|
||||
@MainActor static let shared = AppDefaults()
|
||||
private init() {}
|
||||
|
||||
static let store: UserDefaults = {
|
||||
|
|
Loading…
Reference in New Issue