We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef1b231 commit a6fc06aCopy full SHA for a6fc06a
Sources/Defaults/SwiftUI.swift
@@ -39,7 +39,7 @@ extension Defaults {
39
40
// The `@MainActor` is important as the `.send()` method doesn't inherit the `@MainActor` from the class.
41
task = .detached(priority: .userInitiated) { @MainActor [weak self, key] in
42
- for await _ in Defaults.updates(key) {
+ for await _ in Defaults.updates(key, initial: false) {
43
guard let self else {
44
return
45
}
0 commit comments