Skip to content

Commit

Permalink
Fix watchOS compatibility
Browse files Browse the repository at this point in the history
Fixes #175
  • Loading branch information
sindresorhus committed May 3, 2024
1 parent 7f67c5c commit d8a954e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Defaults/Defaults+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ extension Color: Defaults.Serializable {
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 Range: Defaults.RangeSerializable where Bound: Defaults.Serializable {
Expand Down
2 changes: 1 addition & 1 deletion Tests/DefaultsTests/DefaultsColorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
override func setUp() {
super.setUp()
Expand Down

0 comments on commit d8a954e

Please sign in to comment.