Fix watchOS compatibility

Fixes #175
This commit is contained in:
Sindre Sorhus 2024-05-03 20:15:27 +07:00
parent 7f67c5ca11
commit d8a954e69f
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ extension Color: Defaults.Serializable {
public static let bridge = Defaults.ColorBridge() public static let bridge = Defaults.ColorBridge()
} }
@available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 9.0, visionOS 1.0, *) @available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, visionOS 1.0, *)
extension Color.Resolved: Defaults.Serializable {} extension Color.Resolved: Defaults.Serializable {}
extension Range: Defaults.RangeSerializable where Bound: Defaults.Serializable { extension Range: Defaults.RangeSerializable where Bound: Defaults.Serializable {

View File

@ -23,7 +23,7 @@ final class DefaultsColorTests: XCTestCase {
} }
} }
@available(macOS 14, iOS 17, tvOS 17, watchOS 9, visionOS 1.0, *) @available(macOS 14, iOS 17, tvOS 17, watchOS 10, visionOS 1, *)
final class DefaultsColorResolvedTests: XCTestCase { final class DefaultsColorResolvedTests: XCTestCase {
override func setUp() { override func setUp() {
super.setUp() super.setUp()