Skip to content

Commit

Permalink
fix SE-0401
Browse files Browse the repository at this point in the history
  • Loading branch information
kitwtnb committed Jul 25, 2024
1 parent b8c1e7c commit e37e9e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Defaults/SwiftUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Access stored values from SwiftUI.

This is similar to `@AppStorage` but it accepts a ``Defaults/Key`` and many more types.
*/
@MainActor
@propertyWrapper
public struct Default<Value: Defaults.Serializable>: DynamicProperty {
public typealias Publisher = AnyPublisher<Defaults.KeyChange<Value>, Never>
Expand Down

0 comments on commit e37e9e5

Please sign in to comment.