Skip to content

Commit 2a14244

Browse files
committed
fix: remove Sendable
1 parent 95b7c39 commit 2a14244

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Sources/OpenSwiftUI/App Structure/App Structure and Behaviour/Configuration/ColorSchemeContrast.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import Swift
4444
public static var allCases: [ColorSchemeContrast] = [ .standard, .increased ]
4545

4646
// MARK: - Hashable
47-
47+
4848
/// Hashes the essential components of this value by feeding them into the
4949
/// given hasher.
5050
///

Sources/OpenSwiftUI/User Interface Elements/Control and Indicators/Configuration/Visibility.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Swift
55
///
66
/// For example, the preferred visibility of list row separators can be
77
/// configured using the ``View/listRowSeparator(_:edges:)``.
8-
@frozen public enum Visibility : String, CaseIterable, Hashable, Sendable {
8+
@frozen public enum Visibility : String, CaseIterable, Hashable {
99

1010
/// The element may be visible or hidden depending on the policies of the
1111
/// component accepting the visibility configuration.

Sources/OpenSwiftUI/User Interface Elements/Drawing and Graphics/Geometric Constructs/Namespace.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Swift
33
/// A dynamic property type that allows access to a namespace defined
44
/// by the persistent identity of the object containing the property
55
/// (e.g. a view).
6-
@frozen @propertyWrapper public struct Namespace : DynamicProperty, Sendable {
6+
@frozen @propertyWrapper public struct Namespace : DynamicProperty {
77

88
/// Creating a Namespace.
99
@inlinable public init() {

Sources/OpenSwiftUI/User Interface Elements/Drawing and Graphics/Render Effects/ContentMode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Swift
22

33
/// Constants that define how a view's content fills the available space.
4-
@frozen public enum ContentMode : String, CaseIterable, Equatable, Hashable, Sendable {
4+
@frozen public enum ContentMode : String, CaseIterable, Equatable, Hashable {
55

66
// MARK: - Case(s).
77

0 commit comments

Comments
 (0)