File tree 1 file changed +2
-2
lines changed
Sources/OpenSwiftUI/Data/Model/State
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ public struct ObservedObject<ObjectType> where ObjectType: ObservableObject {
163
163
/// When you change a wrapped value, you can access the new value
164
164
/// immediately. However, OpenSwiftUI updates views that display the value
165
165
/// asynchronously, so the interface might not update immediately.
166
- @MainActor
166
+ @MainActor ( unsafe )
167
167
public var wrappedValue : ObjectType
168
168
169
169
/// A projection of the observed object that creates bindings to its
@@ -183,7 +183,7 @@ public struct ObservedObject<ObjectType> where ObjectType: ObservableObject {
183
183
/// }
184
184
/// }
185
185
///
186
- @MainActor
186
+ @MainActor ( unsafe )
187
187
public var projectedValue : ObservedObject < ObjectType > . Wrapper {
188
188
. init( root: wrappedValue)
189
189
}
You can’t perform that action at this time.
0 commit comments